diff options
author | Shuxin Yang <shuxin.llvm@gmail.com> | 2013-04-27 18:02:12 +0000 |
---|---|---|
committer | Shuxin Yang <shuxin.llvm@gmail.com> | 2013-04-27 18:02:12 +0000 |
commit | 4d4c54d29ff911f59fe2be1a31331dbcbb741f5f (patch) | |
tree | 7462985c701c756423fce2663a8820dee00f7223 /utils/TableGen | |
parent | 595dd5af1438141dde4f19225d5b57170c651731 (diff) | |
download | external_llvm-4d4c54d29ff911f59fe2be1a31331dbcbb741f5f.zip external_llvm-4d4c54d29ff911f59fe2be1a31331dbcbb741f5f.tar.gz external_llvm-4d4c54d29ff911f59fe2be1a31331dbcbb741f5f.tar.bz2 |
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
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180676 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen')
0 files changed, 0 insertions, 0 deletions