aboutsummaryrefslogtreecommitdiffstats
path: root/test/LLC/badFoldGEP.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/LLC/badFoldGEP.ll')
-rw-r--r--test/LLC/badFoldGEP.ll2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/LLC/badFoldGEP.ll b/test/LLC/badFoldGEP.ll
index 0e581bc..e0744af 100644
--- a/test/LLC/badFoldGEP.ll
+++ b/test/LLC/badFoldGEP.ll
@@ -1,3 +1,5 @@
+; RUN: llvm-as -f %s -o - | llc
+
;; GetMemInstArgs() folded the two getElementPtr instructions together,
;; producing an illegal getElementPtr. That's because the type generated
;; by the last index for the first one is a structure field, not an array