diff options
author | Nicola Zaghen <nicola.zaghen@imgtec.com> | 2018-09-04 10:29:48 +0000 |
---|---|---|
committer | Nicola Zaghen <nicola.zaghen@imgtec.com> | 2018-09-04 10:29:48 +0000 |
commit | 9588ad9611368d65a6f619ae5e79fff70854a1fc (patch) | |
tree | f51068c83cdebf1b82bf5bdfd2512383917f2fb0 /clang/unittests/Basic/VirtualFileSystemTest.cpp | |
parent | ef16ea7f7ade8dbe3647e7c829a13d1dbeee0f0e (diff) | |
download | llvm-9588ad9611368d65a6f619ae5e79fff70854a1fc.zip llvm-9588ad9611368d65a6f619ae5e79fff70854a1fc.tar.gz llvm-9588ad9611368d65a6f619ae5e79fff70854a1fc.tar.bz2 |
[InstCombine] Fold icmp ugt/ult (add nuw X, C2), C --> icmp ugt/ult X, (C - C2)
Support for sgt/slt was added in rL294898, this adds the same cases also for unsigned compares.
This is the Alive proof: https://rise4fun.com/Alive/nyY
Differential Revision: https://reviews.llvm.org/D50972
llvm-svn: 341353
Diffstat (limited to 'clang/unittests/Basic/VirtualFileSystemTest.cpp')
0 files changed, 0 insertions, 0 deletions