diff options
| author | Sanjay Patel <spatel@rotateright.com> | 2018-09-01 15:08:59 +0000 |
|---|---|---|
| committer | Sanjay Patel <spatel@rotateright.com> | 2018-09-01 15:08:59 +0000 |
| commit | 099b1a4b0c2513cffbc588012b1efcdcb67e3f2c (patch) | |
| tree | edb833f35542c0eaa7f481643d9b9bfe21b61c02 /clang/unittests/Format/FormatTest.cpp | |
| parent | 454258671dbb8b528432073a091610f31b58b8c8 (diff) | |
| download | bcm5719-llvm-099b1a4b0c2513cffbc588012b1efcdcb67e3f2c.tar.gz bcm5719-llvm-099b1a4b0c2513cffbc588012b1efcdcb67e3f2c.zip | |
[InstCombine] simplify code for 'or' fold
This is no-outwardly-visible-change intended, so no test.
But the code is smaller and more efficient. The check for
a 'not' op is intended to avoid the expensive value tracking
call when it should not be necessary, and it might prevent
infinite looping when we resurrect:
rL300977
llvm-svn: 341280
Diffstat (limited to 'clang/unittests/Format/FormatTest.cpp')
0 files changed, 0 insertions, 0 deletions

