summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/WholeProgramDevirt/export-vcp.ll
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2019-04-17 02:12:23 +0000
committerEric Christopher <echristo@gmail.com>2019-04-17 02:12:23 +0000
commita86343512845c9c1fdbac865fea88aa5fce7142a (patch)
tree666fc6353de19ad8b00e56b67edd33f24104e4a7 /llvm/test/Transforms/WholeProgramDevirt/export-vcp.ll
parent7f8ca6e3679b3af951cb7a4b1377edfaa3244b93 (diff)
downloadbcm5719-llvm-a86343512845c9c1fdbac865fea88aa5fce7142a.tar.gz
bcm5719-llvm-a86343512845c9c1fdbac865fea88aa5fce7142a.zip
Temporarily Revert "Add basic loop fusion pass."
As it's causing some bot failures (and per request from kbarton). This reverts commit r358543/ab70da07286e618016e78247e4a24fcb84077fda. llvm-svn: 358546
Diffstat (limited to 'llvm/test/Transforms/WholeProgramDevirt/export-vcp.ll')
-rw-r--r--llvm/test/Transforms/WholeProgramDevirt/export-vcp.ll102
1 files changed, 0 insertions, 102 deletions
diff --git a/llvm/test/Transforms/WholeProgramDevirt/export-vcp.ll b/llvm/test/Transforms/WholeProgramDevirt/export-vcp.ll
deleted file mode 100644
index 5982ad4ec58..00000000000
--- a/llvm/test/Transforms/WholeProgramDevirt/export-vcp.ll
+++ /dev/null
@@ -1,102 +0,0 @@
-; RUN: opt -mtriple=x86_64-unknown-linux-gnu -wholeprogramdevirt -wholeprogramdevirt-summary-action=export -wholeprogramdevirt-read-summary=%S/Inputs/export.yaml -wholeprogramdevirt-write-summary=%t -S -o - %s | FileCheck --check-prefixes=CHECK,X86 %s
-; RUN: FileCheck --check-prefixes=SUMMARY,SUMMARY-X86 %s < %t
-
-; RUN: opt -mtriple=armv7-unknown-linux-gnu -wholeprogramdevirt -wholeprogramdevirt-summary-action=export -wholeprogramdevirt-read-summary=%S/Inputs/export.yaml -wholeprogramdevirt-write-summary=%t -S -o - %s | FileCheck --check-prefixes=CHECK,ARM %s
-; RUN: FileCheck --check-prefixes=SUMMARY,SUMMARY-ARM %s < %t
-
-target datalayout = "e-p:64:64"
-
-; SUMMARY: TypeIdMap:
-; SUMMARY-NEXT: typeid3:
-; SUMMARY-NEXT: TTRes:
-; SUMMARY-NEXT: Kind: Unsat
-; SUMMARY-NEXT: SizeM1BitWidth: 0
-; SUMMARY-NEXT: AlignLog2: 0
-; SUMMARY-NEXT: SizeM1: 0
-; SUMMARY-NEXT: BitMask: 0
-; SUMMARY-NEXT: InlineBits: 0
-; SUMMARY-NEXT: WPDRes:
-; SUMMARY-NEXT: 0:
-; SUMMARY-NEXT: Kind: Indir
-; SUMMARY-NEXT: SingleImplName: ''
-; SUMMARY-NEXT: ResByArg:
-; SUMMARY-NEXT: 12,24:
-; SUMMARY-NEXT: Kind: VirtualConstProp
-; SUMMARY-NEXT: Info: 0
-; SUMMARY-X86-NEXT: Byte: 0
-; SUMMARY-X86-NEXT: Bit: 0
-; SUMMARY-ARM-NEXT: Byte: 4294967295
-; SUMMARY-ARM-NEXT: Bit: 1
-; SUMMARY-NEXT: typeid4:
-; SUMMARY-NEXT: TTRes:
-; SUMMARY-NEXT: Kind: Unsat
-; SUMMARY-NEXT: SizeM1BitWidth: 0
-; SUMMARY-NEXT: AlignLog2: 0
-; SUMMARY-NEXT: SizeM1: 0
-; SUMMARY-NEXT: BitMask: 0
-; SUMMARY-NEXT: InlineBits: 0
-; SUMMARY-NEXT: WPDRes:
-; SUMMARY-NEXT: 0:
-; SUMMARY-NEXT: Kind: Indir
-; SUMMARY-NEXT: SingleImplName: ''
-; SUMMARY-NEXT: ResByArg:
-; SUMMARY-NEXT: 24,12:
-; SUMMARY-NEXT: Kind: VirtualConstProp
-; SUMMARY-NEXT: Info: 0
-; SUMMARY-X86-NEXT: Byte: 0
-; SUMMARY-X86-NEXT: Bit: 0
-; SUMMARY-ARM-NEXT: Byte: 4294967292
-; SUMMARY-ARM-NEXT: Bit: 1
-
-; CHECK: [[CVT3A:.*]] = private constant { [8 x i8], i1 (i8*, i32, i32)*, [0 x i8] } { [8 x i8] zeroinitializer, i1 (i8*, i32, i32)* @vf0i1, [0 x i8] zeroinitializer }, !type !0
-@vt3a = constant i1 (i8*, i32, i32)* @vf0i1, !type !0
-
-; CHECK: [[CVT3B:.*]] = private constant { [8 x i8], i1 (i8*, i32, i32)*, [0 x i8] } { [8 x i8] c"\00\00\00\00\00\00\00\01", i1 (i8*, i32, i32)* @vf1i1, [0 x i8] zeroinitializer }, !type !0
-@vt3b = constant i1 (i8*, i32, i32)* @vf1i1, !type !0
-
-; CHECK: [[CVT3C:.*]] = private constant { [8 x i8], i1 (i8*, i32, i32)*, [0 x i8] } { [8 x i8] zeroinitializer, i1 (i8*, i32, i32)* @vf0i1, [0 x i8] zeroinitializer }, !type !0
-@vt3c = constant i1 (i8*, i32, i32)* @vf0i1, !type !0
-
-; CHECK: [[CVT3D:.*]] = private constant { [8 x i8], i1 (i8*, i32, i32)*, [0 x i8] } { [8 x i8] c"\00\00\00\00\00\00\00\01", i1 (i8*, i32, i32)* @vf1i1, [0 x i8] zeroinitializer }, !type !0
-@vt3d = constant i1 (i8*, i32, i32)* @vf1i1, !type !0
-
-; CHECK: [[CVT4A:.*]] = private constant { [8 x i8], i32 (i8*, i32, i32)*, [0 x i8] } { [8 x i8] c"\00\00\00\00\01\00\00\00", i32 (i8*, i32, i32)* @vf1i32, [0 x i8] zeroinitializer }, !type !1
-@vt4a = constant i32 (i8*, i32, i32)* @vf1i32, !type !1
-
-; CHECK: [[CVT4B:.*]] = private constant { [8 x i8], i32 (i8*, i32, i32)*, [0 x i8] } { [8 x i8] c"\00\00\00\00\02\00\00\00", i32 (i8*, i32, i32)* @vf2i32, [0 x i8] zeroinitializer }, !type !1
-@vt4b = constant i32 (i8*, i32, i32)* @vf2i32, !type !1
-
-; X86: @__typeid_typeid3_0_12_24_byte = hidden alias i8, inttoptr (i32 -1 to i8*)
-; X86: @__typeid_typeid3_0_12_24_bit = hidden alias i8, inttoptr (i32 1 to i8*)
-; X86: @__typeid_typeid4_0_24_12_byte = hidden alias i8, inttoptr (i32 -4 to i8*)
-; X86: @__typeid_typeid4_0_24_12_bit = hidden alias i8, inttoptr (i32 1 to i8*)
-; ARM-NOT: alias {{.*}} inttoptr
-
-; CHECK: @vt3a = alias i1 (i8*, i32, i32)*, getelementptr inbounds ({ [8 x i8], i1 (i8*, i32, i32)*, [0 x i8] }, { [8 x i8], i1 (i8*, i32, i32)*, [0 x i8] }* [[CVT3A]], i32 0, i32 1)
-; CHECK: @vt3b = alias i1 (i8*, i32, i32)*, getelementptr inbounds ({ [8 x i8], i1 (i8*, i32, i32)*, [0 x i8] }, { [8 x i8], i1 (i8*, i32, i32)*, [0 x i8] }* [[CVT3B]], i32 0, i32 1)
-; CHECK: @vt3c = alias i1 (i8*, i32, i32)*, getelementptr inbounds ({ [8 x i8], i1 (i8*, i32, i32)*, [0 x i8] }, { [8 x i8], i1 (i8*, i32, i32)*, [0 x i8] }* [[CVT3C]], i32 0, i32 1)
-; CHECK: @vt3d = alias i1 (i8*, i32, i32)*, getelementptr inbounds ({ [8 x i8], i1 (i8*, i32, i32)*, [0 x i8] }, { [8 x i8], i1 (i8*, i32, i32)*, [0 x i8] }* [[CVT3D]], i32 0, i32 1)
-; CHECK: @vt4a = alias i32 (i8*, i32, i32)*, getelementptr inbounds ({ [8 x i8], i32 (i8*, i32, i32)*, [0 x i8] }, { [8 x i8], i32 (i8*, i32, i32)*, [0 x i8] }* [[CVT4A]], i32 0, i32 1)
-; CHECK: @vt4b = alias i32 (i8*, i32, i32)*, getelementptr inbounds ({ [8 x i8], i32 (i8*, i32, i32)*, [0 x i8] }, { [8 x i8], i32 (i8*, i32, i32)*, [0 x i8] }* [[CVT4B]], i32 0, i32 1)
-
-define i1 @vf0i1(i8* %this, i32, i32) readnone {
- ret i1 0
-}
-
-define i1 @vf1i1(i8* %this, i32, i32) readnone {
- ret i1 1
-}
-
-define i32 @vf1i32(i8* %this, i32, i32) readnone {
- ret i32 1
-}
-
-define i32 @vf2i32(i8* %this, i32, i32) readnone {
- ret i32 2
-}
-
-; CHECK: !0 = !{i32 8, !"typeid3"}
-; CHECK: !1 = !{i32 8, !"typeid4"}
-
-!0 = !{i32 0, !"typeid3"}
-!1 = !{i32 0, !"typeid4"}
OpenPOWER on IntegriCloud