summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2011-06-19 00:03:46 +0000
committerChris Lattner <sabre@nondot.org>2011-06-19 00:03:46 +0000
commit8936d2bfbc6d91a1d212e0feadf789ef4faf51eb (patch)
tree008401401e85efeff7157846391144dff7f20d56 /llvm/test/Transforms
parentba23ca085f56006a82b84ce76beaa6edc7496d48 (diff)
downloadbcm5719-llvm-8936d2bfbc6d91a1d212e0feadf789ef4faf51eb.tar.gz
bcm5719-llvm-8936d2bfbc6d91a1d212e0feadf789ef4faf51eb.zip
Remove support for parsing the "type i32" syntax for defining a numbered
top level type without a specified number. This syntax isn't documented and blocks forward progress. llvm-svn: 133371
Diffstat (limited to 'llvm/test/Transforms')
-rw-r--r--llvm/test/Transforms/ScalarRepl/2009-03-05-Aggre2Scalar-dbg.ll10
-rw-r--r--llvm/test/Transforms/ScalarRepl/crash.ll2
2 files changed, 6 insertions, 6 deletions
diff --git a/llvm/test/Transforms/ScalarRepl/2009-03-05-Aggre2Scalar-dbg.ll b/llvm/test/Transforms/ScalarRepl/2009-03-05-Aggre2Scalar-dbg.ll
index 50e7f9a08e6..d71bcb9713b 100644
--- a/llvm/test/Transforms/ScalarRepl/2009-03-05-Aggre2Scalar-dbg.ll
+++ b/llvm/test/Transforms/ScalarRepl/2009-03-05-Aggre2Scalar-dbg.ll
@@ -1,11 +1,11 @@
; RUN: opt < %s -scalarrepl -disable-output -stats |& grep "Number of aggregates converted to scalar"
target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
target triple = "i386-apple-darwin9.6"
- type { } ; type %0
- type { i8*, i32, i32, i16, i16, %2, i32, i8*, i32 (i8*)*, i32 (i8*, i8*, i32)*, i64 (i8*, i64, i32)*, i32 (i8*, i8*, i32)*, %2, %3*, i32, [3 x i8], [1 x i8], %2, i32, i64 } ; type %1
- type { i8*, i32 } ; type %2
- type opaque ; type %3
- type { i32 } ; type %4
+ %0 = type { } ; type %0
+ %1 = type { i8*, i32, i32, i16, i16, %2, i32, i8*, i32 (i8*)*, i32 (i8*, i8*, i32)*, i64 (i8*, i64, i32)*, i32 (i8*, i8*, i32)*, %2, %3*, i32, [3 x i8], [1 x i8], %2, i32, i64 } ; type %1
+ %2 = type { i8*, i32 } ; type %2
+ %3 = type opaque ; type %3
+ %4 = type { i32 } ; type %4
%llvm.dbg.anchor.type = type { i32, i32 }
%llvm.dbg.basictype.type = type { i32, %0*, i8*, %0*, i32, i64, i64, i64, i32, i32 }
%llvm.dbg.compile_unit.type = type { i32, %0*, i32, i8*, i8*, i8*, i1, i1, i8*, i32 }
diff --git a/llvm/test/Transforms/ScalarRepl/crash.ll b/llvm/test/Transforms/ScalarRepl/crash.ll
index e06d0c1cd76..cd4dc328e69 100644
--- a/llvm/test/Transforms/ScalarRepl/crash.ll
+++ b/llvm/test/Transforms/ScalarRepl/crash.ll
@@ -188,7 +188,7 @@ entry:
; rdar://6808691 - ZeroLengthMemSet
- type <{ i32, i16, i8, i8, i64, i64, i16, [0 x i16] }>
+ %0 = type <{ i32, i16, i8, i8, i64, i64, i16, [0 x i16] }>
define i32 @test9() {
entry:
OpenPOWER on IntegriCloud