xref: /aosp_15_r20/external/llvm/test/CodeGen/PowerPC/sdag-ppcf128.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker; RUN: llc -mtriple=powerpc64-unknown-linux-gnu -mattr=-crbits < %s | FileCheck %s
2*9880d681SAndroid Build Coastguard Worker;
3*9880d681SAndroid Build Coastguard Worker; PR14751: Unsupported type in SelectionDAG::getConstantFP()
4*9880d681SAndroid Build Coastguard Worker
5*9880d681SAndroid Build Coastguard Workerdefine fastcc void @_D3std4math4sqrtFNaNbNfcZc() {
6*9880d681SAndroid Build Coastguard Workerentry:
7*9880d681SAndroid Build Coastguard Worker  br i1 undef, label %if, label %else
8*9880d681SAndroid Build Coastguard Worker; CHECK: cmplwi 3, 0
9*9880d681SAndroid Build Coastguard Workerif:                                               ; preds = %entry
10*9880d681SAndroid Build Coastguard Worker  store { ppc_fp128, ppc_fp128 } zeroinitializer, { ppc_fp128, ppc_fp128 }* undef
11*9880d681SAndroid Build Coastguard Worker  ret void
12*9880d681SAndroid Build Coastguard Worker
13*9880d681SAndroid Build Coastguard Workerelse:                                             ; preds = %entry
14*9880d681SAndroid Build Coastguard Worker  unreachable
15*9880d681SAndroid Build Coastguard Worker}
16