Actually check for the diagnostic to be emitted!

This makes the test case in r280273 actually useful!

llvm-svn: 280276
This commit is contained in:
Quentin Colombet 2016-08-31 18:53:32 +00:00
parent 510443db70
commit ed30533026

View 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