XFAIL the test cases for r186044 on Hexagon
authorHal Finkel <hfinkel@anl.gov>
Wed, 10 Jul 2013 23:11:14 +0000 (23:11 +0000)
committerHal Finkel <hfinkel@anl.gov>
Wed, 10 Jul 2013 23:11:14 +0000 (23:11 +0000)
For some reason, the Hexagon backend does not reject these invalid static
initializer expressions, but instead crashes in AsmPrinter::EmitGlobalConstant.

llvm-svn: 186045

llvm/test/Other/nonconst-static-ev.ll
llvm/test/Other/nonconst-static-iv.ll

index 3e4b7bd..148a187 100644 (file)
@@ -1,5 +1,6 @@
 ; RUN: not llc < %s 2> %t
 ; RUN: FileCheck --check-prefix=CHECK-ERRORS < %t %s
+; XFAIL: hexagon
 
 @0 = global i8 extractvalue ([1 x i8] select (i1 ptrtoint (i32* @1 to i1), [1 x i8] [ i8 1 ], [1 x i8] [ i8 2 ]), 0)
 @1 = external global i32
index 14db94c..2a7f726 100644 (file)
@@ -1,5 +1,6 @@
 ; RUN: not llc < %s 2> %t
 ; RUN: FileCheck --check-prefix=CHECK-ERRORS < %t %s
+; XFAIL: hexagon
 
 @0 = global i8 insertvalue( { i8 } select (i1 ptrtoint (i32* @1 to i1), { i8 } { i8 1 }, { i8 } { i8 2 }), i8 0, 0)
 @1 = external global i32