diff options
Diffstat (limited to 'llvm/test/Transforms/InstCombine/cast-call-combine.ll')
-rw-r--r-- | llvm/test/Transforms/InstCombine/cast-call-combine.ll | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/llvm/test/Transforms/InstCombine/cast-call-combine.ll b/llvm/test/Transforms/InstCombine/cast-call-combine.ll deleted file mode 100644 index be70a8763ea..00000000000 --- a/llvm/test/Transforms/InstCombine/cast-call-combine.ll +++ /dev/null @@ -1,23 +0,0 @@ -; RUN: opt < %s -always-inline -instcombine -S | FileCheck %s - -define internal void @foo(i16*) alwaysinline { - ret void -} - -define void @bar() noinline noreturn { - unreachable -} - -define void @test() { - br i1 false, label %then, label %else - -then: - call void @bar() - unreachable - -else: - ; CHECK-NOT: call - call void bitcast (void (i16*)* @foo to void (i8*)*) (i8* null) - ret void -} - |