summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/InstCombine/div.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/Transforms/InstCombine/div.ll')
-rw-r--r--llvm/test/Transforms/InstCombine/div.ll9
1 files changed, 0 insertions, 9 deletions
diff --git a/llvm/test/Transforms/InstCombine/div.ll b/llvm/test/Transforms/InstCombine/div.ll
index a3b95cb0ed9..c080fc13868 100644
--- a/llvm/test/Transforms/InstCombine/div.ll
+++ b/llvm/test/Transforms/InstCombine/div.ll
@@ -21,15 +21,6 @@ define i32 @test2(i32 %A) {
ret i32 %B
}
-define i32 @test3(i32 %A) {
- ; => 0, don't need to keep traps
-; CHECK-LABEL: @test3(
-; CHECK-NEXT: ret i32 0
-;
- %B = sdiv i32 0, %A ; <i32> [#uses=1]
- ret i32 %B
-}
-
define i32 @test4(i32 %A) {
; 0-A
; CHECK-LABEL: @test4(
OpenPOWER on IntegriCloud