2016-08-04 02:17:35 +08:00
|
|
|
; RUN: llc -verify-machineinstrs -mtriple=powerpc64-unknown-linux-gnu -mattr=-crbits < %s | FileCheck %s
|
2012-12-31 03:03:32 +08:00
|
|
|
;
|
|
|
|
; PR14751: Unsupported type in SelectionDAG::getConstantFP()
|
|
|
|
|
|
|
|
define fastcc void @_D3std4math4sqrtFNaNbNfcZc() {
|
|
|
|
entry:
|
|
|
|
br i1 undef, label %if, label %else
|
2015-04-24 02:30:38 +08:00
|
|
|
; CHECK: cmplwi 3, 0
|
2012-12-31 03:03:32 +08:00
|
|
|
if: ; preds = %entry
|
|
|
|
store { ppc_fp128, ppc_fp128 } zeroinitializer, { ppc_fp128, ppc_fp128 }* undef
|
|
|
|
ret void
|
|
|
|
|
|
|
|
else: ; preds = %entry
|
|
|
|
unreachable
|
|
|
|
}
|