Add support for compare between float128 values.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
test/CodeGen/PowerPC/f128-compare.ll | ||
---|---|---|
2 ↗ | (On Diff #151765) | need -verify-machineinstrs |
test/CodeGen/PowerPC/f128-compare.ll | ||
---|---|---|
2 ↗ | (On Diff #151765) | -ppc-vsr-nums-as-vr is not needed since you are not referencing any registers at all in your checks |
Comment Actions
The test case is underspecified. Please show the code that extracts the correct CR-bit from the result of the comparison. Also, please add testing for fsel as that will presumably produce select_cc in addition to all the setcc's. I presume there is additional work to do to handle the former.
Comment Actions
Added handling for the select f128.
Unlike the double type, the __float128 type cannot not use the fsel instruction but we should still expand it to something that functions correctly.