summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2010-09-10 22:39:55 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2010-09-10 22:39:55 +0000
commit8c35fb0739e0725ca547d7113a0c41fd059da7cc (patch)
tree62bd2a0d4df6272124edea798d84c69882c5c9bd /llvm/lib/CodeGen
parentb8a76c42b516e55b680ada2af960ecc9613a7c2d (diff)
downloadbcm5719-llvm-8c35fb0739e0725ca547d7113a0c41fd059da7cc.tar.gz
bcm5719-llvm-8c35fb0739e0725ca547d7113a0c41fd059da7cc.zip
Teach InstructionSimplify to fold (A & B) & A -> A & B and (A | B) | A -> A | B.
Reassociate does this but it doesn't catch all cases (e.g. if the operands are i1). llvm-svn: 113651
Diffstat (limited to 'llvm/lib/CodeGen')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud