aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorDavide Italiano <davide@freebsd.org>2017-05-20 00:46:54 +0000
committerDavide Italiano <davide@freebsd.org>2017-05-20 00:46:54 +0000
commit9a0f542db642ad8bab95f7786a7087c0ede52fd2 (patch)
tree447274a25f0222f68f9bf04ca642d35415ae2686 /clang/lib/CodeGen/CodeGenModule.cpp
parent421b63dd70b2576ddabef378bdf2d6bbbdd0e9fb (diff)
downloadllvm-9a0f542db642ad8bab95f7786a7087c0ede52fd2.zip
llvm-9a0f542db642ad8bab95f7786a7087c0ede52fd2.tar.gz
llvm-9a0f542db642ad8bab95f7786a7087c0ede52fd2.tar.bz2
[NewGVN] Create a StoreExpression instead of a VariableExpression.
In the case where we have an operand defined by a lod of the same memory location. Historically this was a VariableExpression because we wanted to make sure they ended up in the same class, but if we create the right expression, they end up in the same class anyway. Fixes PR32897. Thanks to Dan for the detailed discussion and the fix suggestion. llvm-svn: 303475
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions