llvm-project
505c550e - DAG: Assert fcmp uno runtime calls are boolean values (#142898)

Commit
244 days ago
DAG: Assert fcmp uno runtime calls are boolean values (#142898) This saves 2 instructions in the ARM soft float case for fcmp ueq. This code is written in an confusingly overly general way. The point of getCmpLibcallCC is to express that the compiler-rt implementations of the FP compares are different aliases around functions which may return -1 in some cases. This does not apply to the call for unordered, which returns a normal boolean. Also stop overriding the default value for the unordered compare for ARM. This was setting it to the same value as the default, which is now assumed.
Author
Parents
Loading