Debian Codegraph @

llvm/test/CodeGen/PowerPC/nofpclass.ll

raw
1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 5
2 ; RUN: llc -mtriple=powerpc64le-unknown-linux-gnu < %s | FileCheck %s
3 ; RUN: llc -mtriple=powerpc64-ibm-aix-xcoff < %s | FileCheck %s
4
5 ; TODO: Update this test after adding the proper expansion of nofpclass for
6 ; ppc_fp128 to test with more masks and to demonstrate preserving nofpclass
7 ; after legalization.
8
9 define ppc_fp128 @f(ppc_fp128 nofpclass(nan) %s) {
10 ; CHECK-LABEL: f:
11 ; CHECK: # %bb.0: # %entry
12 ; CHECK-NEXT: blr
13 entry:
14 ret ppc_fp128 %s
15 }