summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2019-02-03 13:48:03 +0000
committerSanjay Patel <spatel@rotateright.com>2019-02-03 13:48:03 +0000
commit00fcc74e502a66244dc416c3f12534aedb2612d6 (patch)
tree232031c5c0e06ba9265531d44b6990f677a2cb39 /clang
parent359a97310b101d6a7e946d08c3a3924d5d21a7df (diff)
downloadbcm5719-llvm-00fcc74e502a66244dc416c3f12534aedb2612d6.tar.gz
bcm5719-llvm-00fcc74e502a66244dc416c3f12534aedb2612d6.zip
[CGP] refactor optimizeCmpExpression (NFCI)
This is not truly NFC because we are bailing out without a TLI now. That should not be a real concern though because there should be a TLI in any real-world scenario. That seems better than passing around a pointer and then checking it for null-ness all over the place. The motivation is to fix what appears to be an unintended restriction on the uaddo transform - hasMultipleConditionRegisters() shouldn't be reason to limit the transform. llvm-svn: 352988
Diffstat (limited to 'clang')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud