diff options
| author | David Majnemer <david.majnemer@gmail.com> | 2015-05-21 23:04:21 +0000 |
|---|---|---|
| committer | David Majnemer <david.majnemer@gmail.com> | 2015-05-21 23:04:21 +0000 |
| commit | 27e89ba24c60a917b4db63844db500c307014e50 (patch) | |
| tree | 0ed0fba052f770aec13653c259aeaca19a008e99 /llvm/unittests/Support/ErrorOrTest.cpp | |
| parent | eb31b68cefd5ab38ba61ac11c73108a5e344272d (diff) | |
| download | llvm-27e89ba24c60a917b4db63844db500c307014e50.zip llvm-27e89ba24c60a917b4db63844db500c307014e50.tar.gz llvm-27e89ba24c60a917b4db63844db500c307014e50.tar.bz2 | |
[InstCombine] X - 0 is equal to X, not undef
A refactoring made @llvm.ssub.with.overflow.i32(i32 %X, i32 0) transform
into undef instead of %X.
This fixes PR23624.
llvm-svn: 237968
Diffstat (limited to 'llvm/unittests/Support/ErrorOrTest.cpp')
0 files changed, 0 insertions, 0 deletions
