llvm/test/CodeGen/PowerPC/sdag-ppcf128.ll
raw| 1 | ; RUN: llc -verify-machineinstrs -mtriple=powerpc64-unknown-linux-gnu -mattr=-crbits < %s | FileCheck %s |
| 2 | ; |
| 3 | ; PR14751: Unsupported type in SelectionDAG::getConstantFP() |
| 4 | |
| 5 | define fastcc void @_D3std4math4sqrtFNaNbNfcZc() { |
| 6 | entry: |
| 7 | br i1 undef, label %if, label %else |
| 8 | ; CHECK: cmplwi 3, 0 |
| 9 | if: ; preds = %entry |
| 10 | store { ppc_fp128, ppc_fp128 } zeroinitializer, ptr undef |
| 11 | ret void |
| 12 | |
| 13 | else: ; preds = %entry |
| 14 | unreachable |
| 15 | } |