diff options
Diffstat (limited to 'llvm/test/Analysis/ScalarEvolution/mul-nuw.ll')
| -rw-r--r-- | llvm/test/Analysis/ScalarEvolution/mul-nuw.ll | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/llvm/test/Analysis/ScalarEvolution/mul-nuw.ll b/llvm/test/Analysis/ScalarEvolution/mul-nuw.ll deleted file mode 100644 index 4d996fb07ce..00000000000 --- a/llvm/test/Analysis/ScalarEvolution/mul-nuw.ll +++ /dev/null @@ -1,15 +0,0 @@ -; RUN: opt < %s -analyze -scalar-evolution | FileCheck %s - -; Check that we add nuw to multiplies by a constant where we can infer that the -; multiply does not have unsigned overflow. -declare i32 @get_int(); - -define void @foo() { - %a = call i32 @get_int(), !range !0 - %b = mul i32 %a, 4 - ; CHECK: %b - ; CHECK-NEXT: --> (4 * %a)<nuw> - ret void -} - -!0 = !{i32 0, i32 100} |

