This adds some AArch64 specific smul_with_overflow and umul_with_overflow costs, overriding the default costs. The code generation for these mul with overflow intrinsics is usually better than the default expansion on AArch64. The costs come from https://godbolt.org/z/zEzYhMWqo with various types, or https://github.com/llvm/llvm-project/blob/main/llvm/test/CodeGen/AArch64/arm64-xaluo.ll.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo