llvm-project
c9014d34 - [PreISelIntrinsicLowering] Use index type for index in intrinsic expansion (#193807)

Commit
4 days ago
[PreISelIntrinsicLowering] Use index type for index in intrinsic expansion (#193807) We'd chosen intptr type for the binary in review, but on reflection the index type is probably a conceptually better fit. On riscv, these are going to be the same, so it's purely a conceptual issue. For the unary case, this is an actual change since we were using i64 unconditionally. This improves codegen for RV32 by avoiding the need for expensive legalization of i64 expressions for the IV.
Author
Parents
Loading