aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2015-04-30 22:04:26 +0000
committerMatthias Braun <matze@braunis.de>2015-04-30 22:04:26 +0000
commitec6833420fa3c6f44c0e464ed2cbc6c483f37781 (patch)
tree8da3c323e0ecdd79e19a2a6082b2a80f601f129e /clang/lib/CodeGen/CodeGenFunction.cpp
parent868b3f47d216e9ab0fb1e72155524f20f8deb23d (diff)
downloadllvm-ec6833420fa3c6f44c0e464ed2cbc6c483f37781.zip
llvm-ec6833420fa3c6f44c0e464ed2cbc6c483f37781.tar.gz
llvm-ec6833420fa3c6f44c0e464ed2cbc6c483f37781.tar.bz2
InstCombine: Move Sub->Xor rule from SimplifyDemanded to InstCombine
The rule that turns a sub to xor if the LHS is 2^n-1 and the remaining bits are known zero, does not use the demanded bits at all: Move it to the normal InstCombine code path. Differential Revision: http://reviews.llvm.org/D9417 llvm-svn: 236268
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions