Issue |
125675
|
Summary |
[VectorCombine] foldInsExtFNeg -support mismatching extract/insert indices
|
Labels |
missed-optimization,
llvm:transforms
|
Assignees |
|
Reporter |
RKSimon
|
foldInsExtFNeg is currently limited to `insert(dst, fneg(extract(src,idx)), idx)` patterns with the same extract/insert index.
We should be able to handle cases where the (legal) indices are different with suitable shuffle masks + costs.
CC @ParkHanbum who's handled similar cases in the past
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs