Actually check for the diagnostic to be emitted!
authorQuentin Colombet <qcolombet@apple.com>
Wed, 31 Aug 2016 18:53:32 +0000 (18:53 +0000)
committerQuentin Colombet <qcolombet@apple.com>
Wed, 31 Aug 2016 18:53:32 +0000 (18:53 +0000)
This makes the test case in r280273 actually useful!

llvm-svn: 280276

llvm/test/CodeGen/AArch64/GlobalISel/arm64-fallback.ll

index 590f34f..5a42ca6 100644 (file)
@@ -14,7 +14,9 @@ target triple = "aarch64-apple-ios"
 ; FALLBACK: ldr q0,
 ; FALLBACK-NEXT: bl ___fixunstfti
 ;
-; FALLBACK_WITH_REPORT-DAG: bl ___fixunstfti
+; FALLBACK_WITH_REPORT: warning: Instruction selection used fallback path for ABIi128
+; FALLBACK_WITH_REPORT: ldr q0,
+; FALLBACK_WITH_REPORT-NEXT: bl ___fixunstfti
 define i128 @ABIi128(i128 %arg1) {
   %farg1 =       bitcast i128 %arg1 to fp128 
   %res = fptoui fp128 %farg1 to i128