Details
Details
- Reviewers
efriedma david-arm paulwalker-arm sdesmalen - Commits
- rGab111e982fd1: Revert "Revert "[AArch64][SVE][InstCombine] Canonicalize aarch64_sve_dup_x…
rGeee7d225ded9: Revert "[AArch64][SVE][InstCombine] Canonicalize aarch64_sve_dup_x intrinsic to…
rG98c37247d81d: [AArch64][SVE][InstCombine] Canonicalize aarch64_sve_dup_x intrinsic to IR…
Diff Detail
Diff Detail
Unit Tests
Unit Tests
Event Timeline
Comment Actions
The patch looks good but please add an explicit test for the dup_x->splat transform to sve-intrinsic-opts-dup.ll.
The above failures are because many of the SVE ACLE tests use dup_x so unfortunately those will need updating as well. I guess this is the trade off, the SVE ACLE tests use -O1 so that they can ignore local variable stack access but then it means updates are required when we canonicalising the intrinsics to LLVM constants/instructions. Another option is to perhaps disable instcombine for those tests but I've not looked to see if that is possible, but my gut feeling is probably not.