aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Basic/VirtualFileSystemTest.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2016-11-09 00:13:11 +0000
committerSanjay Patel <spatel@rotateright.com>2016-11-09 00:13:11 +0000
commit4e9d6cd35404b8804150c43ea7a8375f398664f4 (patch)
tree30319fc59d401c82f6b9355ed032d3a49017ef50 /clang/unittests/Basic/VirtualFileSystemTest.cpp
parent99dc5feff144a4183a67d66833c51fc7f2444ff9 (diff)
downloadllvm-4e9d6cd35404b8804150c43ea7a8375f398664f4.zip
llvm-4e9d6cd35404b8804150c43ea7a8375f398664f4.tar.gz
llvm-4e9d6cd35404b8804150c43ea7a8375f398664f4.tar.bz2
[InstCombine] fix profitability equation for max-of-nots transform
As the test change shows, we can increase the critical path by adding a 'not' instruction, so make sure that we're actually removing an instruction if we do this transform. This transform could also cause us to miss folds of min/max pairs. llvm-svn: 286315
Diffstat (limited to 'clang/unittests/Basic/VirtualFileSystemTest.cpp')
0 files changed, 0 insertions, 0 deletions