aboutsummaryrefslogtreecommitdiff
path: root/tools/gccld/GenerateCode.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-09-23 00:55:52 +0000
committerChris Lattner <sabre@nondot.org>2005-09-23 00:55:52 +0000
commit5ae7911b2437aec6f695d6820284ff7bc60ec97a (patch)
treebce932eedcf2e14946c865f79113364392b1f1f2 /tools/gccld/GenerateCode.cpp
parente8033c00d66f698982a6e1afc0e125d2515740b6 (diff)
Turn (X^C1) == C2 into X == C1^C2 iff X&~C1 = 0 (and move a function)
This happens all the time on PPC for bool values, e.g. eliminating a xori in inverted-bool-compares.ll. This should be added to the dag combiner as well. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23403 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/gccld/GenerateCode.cpp')
0 files changed, 0 insertions, 0 deletions