llvm-project icon indicating copy to clipboard operation
llvm-project copied to clipboard

`Value` comparison doesn't take properties into account.

Open ymand opened this issue 2 years ago • 1 comments

Function areEquivalentValues doesn't account for differences in properties. This causes problems with analyses which use properties where values differing only in properties are considered equivalent.

https://github.com/llvm/llvm-project/blob/a01b58aef0e42fb1b52e358adf4c56678a884d37/clang/lib/Analysis/FlowSensitive/Value.cpp#L29-L33

ymand avatar Dec 27 '23 18:12 ymand

I think fixed in https://github.com/llvm/llvm-project/pull/76746

jvoung avatar Mar 25 '26 12:03 jvoung