summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2018-12-04 22:25:33 +0000
committerSanjay Patel <spatel@rotateright.com>2018-12-04 22:25:33 +0000
commit1df1facae28ace7a94f1ef33e028ba3ea440c6cc (patch)
tree79b644e71a45197efb8d8c86b381528583c6b21c /llvm/lib/Transforms
parent01fbb06b12b0d12ed3fba7ab002c6daf53f2531c (diff)
downloadbcm5719-llvm-1df1facae28ace7a94f1ef33e028ba3ea440c6cc.tar.gz
bcm5719-llvm-1df1facae28ace7a94f1ef33e028ba3ea440c6cc.zip
[InstCombine] add tests for implied simplifications; NFC
Ideally, we would fold all of these in InstSimplify in a similar way to rL347896, but this is a bit awkward when we're trying to simplify a compare directly because the ValueTracking API expects the compare as an input, but in InstSimplify, we just have the operands of the compare. Given that we can do transforms besides just simplifications, we might as well just extend the code in InstCombine (which already does simplifications with constant operands). llvm-svn: 348312
Diffstat (limited to 'llvm/lib/Transforms')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud