Strict fp-to-int and int-to-fp conversions can be handled in the same way that the non-strict versions are (by using the appropriate instruction or converting to a function call when we have no instruction).
Details
Diff Detail
Event Timeline
llvm/test/CodeGen/AArch64/fp-intrinsics.ll | ||
---|---|---|
1 | I think you may need add option "-disable-strictnode-mutation" to ensure the code generation doesn't come from mutation before strict FP default enabled. The same to other patches. |
llvm/test/CodeGen/AArch64/fp-intrinsics.ll | ||
---|---|---|
1 | Currently a lot of it is coming from strict node mutation. The tests here are primarily for making sure opt doesn't crash with an assertion if you're using it with the default options. |
LGTM
llvm/lib/Target/AArch64/AArch64ISelLowering.cpp | ||
---|---|---|
2616–2617 | Can you format this whilst you are here. |
Can you format this whilst you are here.