summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils
diff options
context:
space:
mode:
authorShuxin Yang <shuxin.llvm@gmail.com>2013-04-27 18:02:12 +0000
committerShuxin Yang <shuxin.llvm@gmail.com>2013-04-27 18:02:12 +0000
commit04a4fd43aa9ef807b54a42f3a0aa1234ce579dda (patch)
tree05bd85d87ae4d0967c8e0f2906cc349eaa5830a2 /llvm/lib/Transforms/Utils
parent7d8b607f4693a94e85c12429a832e53923680349 (diff)
downloadbcm5719-llvm-04a4fd43aa9ef807b54a42f3a0aa1234ce579dda.tar.gz
bcm5719-llvm-04a4fd43aa9ef807b54a42f3a0aa1234ce579dda.zip
Fix a XOR reassociation bug.
When Reassociator optimize "(x | C1)" ^ "(X & C2)", it may swap the two subexpressions, however, it forgot to swap cached constants (of C1 and C2) accordingly. rdar://13739160 llvm-svn: 180676
Diffstat (limited to 'llvm/lib/Transforms/Utils')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud