summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/InstCombine/apint-shift.ll
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2018-04-21 16:58:00 +0000
committerSanjay Patel <spatel@rotateright.com>2018-04-21 16:58:00 +0000
commit5f845732ed99c1a1befc7bdc9e31cf1cc7585920 (patch)
tree7c1704d0dd260a3e1ee93e32b5ef5a7dd4ed2b1d /llvm/test/Transforms/InstCombine/apint-shift.ll
parentd0b27a1156fc7e21227c55702c2940ab25a7a99e (diff)
downloadbcm5719-llvm-5f845732ed99c1a1befc7bdc9e31cf1cc7585920.tar.gz
bcm5719-llvm-5f845732ed99c1a1befc7bdc9e31cf1cc7585920.zip
[InstSimplify] move tests for shifts; NFC
llvm-svn: 330516
Diffstat (limited to 'llvm/test/Transforms/InstCombine/apint-shift.ll')
-rw-r--r--llvm/test/Transforms/InstCombine/apint-shift.ll50
1 files changed, 0 insertions, 50 deletions
diff --git a/llvm/test/Transforms/InstCombine/apint-shift.ll b/llvm/test/Transforms/InstCombine/apint-shift.ll
index 679a87a7efb..fc564665a60 100644
--- a/llvm/test/Transforms/InstCombine/apint-shift.ll
+++ b/llvm/test/Transforms/InstCombine/apint-shift.ll
@@ -3,56 +3,6 @@
; even with arbitrary precision integers.
; RUN: opt < %s -instcombine -S | FileCheck %s
-define i47 @test1(i47 %A) {
-; CHECK-LABEL: @test1(
-; CHECK-NEXT: ret i47 %A
-;
- %B = shl i47 %A, 0
- ret i47 %B
-}
-
-define i41 @test2(i7 %X) {
-; CHECK-LABEL: @test2(
-; CHECK-NEXT: ret i41 0
-;
- %A = zext i7 %X to i41
- %B = shl i41 0, %A
- ret i41 %B
-}
-
-define i41 @test3(i41 %A) {
-; CHECK-LABEL: @test3(
-; CHECK-NEXT: ret i41 %A
-;
- %B = ashr i41 %A, 0
- ret i41 %B
-}
-
-define i39 @test4(i7 %X) {
-; CHECK-LABEL: @test4(
-; CHECK-NEXT: ret i39 0
-;
- %A = zext i7 %X to i39
- %B = ashr i39 0, %A
- ret i39 %B
-}
-
-define i55 @test5(i55 %A) {
-; CHECK-LABEL: @test5(
-; CHECK-NEXT: ret i55 undef
-;
- %B = lshr i55 %A, 55
- ret i55 %B
-}
-
-define i32 @test5a(i32 %A) {
-; CHECK-LABEL: @test5a(
-; CHECK-NEXT: ret i32 undef
-;
- %B = shl i32 %A, 32
- ret i32 %B
-}
-
define i55 @test6(i55 %A) {
; CHECK-LABEL: @test6(
; CHECK-NEXT: [[C:%.*]] = mul i55 %A, 6
OpenPOWER on IntegriCloud