summaryrefslogtreecommitdiffstats
path: root/llvm/utils
diff options
context:
space:
mode:
authorRoman Lebedev <lebedev.ri@gmail.com>2018-05-21 21:41:10 +0000
committerRoman Lebedev <lebedev.ri@gmail.com>2018-05-21 21:41:10 +0000
commit9f65d16d5d06bbfc075cdd9c8635f5af88baaf8b (patch)
tree2202debcdd70e71ae4d06e6cf159c4c8c4b6c05a /llvm/utils
parent7772de25d07c977e41f8faa3bbf327033cd81c20 (diff)
downloadbcm5719-llvm-9f65d16d5d06bbfc075cdd9c8635f5af88baaf8b.tar.gz
bcm5719-llvm-9f65d16d5d06bbfc075cdd9c8635f5af88baaf8b.zip
[DAGCombiner] isAllOnesConstantOrAllOnesSplatConstant(): look through bitcasts
Summary: As pointed out in D46528, we errneously transform cases like `xor X, -1`, even though we use said function. It's because the `-1` is actually a bitcast there. So i think we can just look through it in the function. Differential Revision: https://reviews.llvm.org/D47156 llvm-svn: 332905
Diffstat (limited to 'llvm/utils')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud