llvm-project
[VectorCombine] Fold scalar selects from bitcast into vector select
#173990
Merged

[VectorCombine] Fold scalar selects from bitcast into vector select #173990

PankajDwivedi-25
Combine scalarized selects back into vector selects
a5260ed0
llvmbot llvmbot added backend:AMDGPU
llvmbot
added asm test file
f7c2a62a
PankajDwivedi-25 PankajDwivedi-25 requested a review from arsenm arsenm 42 days ago
PankajDwivedi-25 PankajDwivedi-25 requested a review from cdevadas cdevadas 42 days ago
jmmartinez
jmmartinez commented on 2025-12-30
jmmartinez
jmmartinez commented on 2025-12-30
arsenm
arsenm commented on 2025-12-30
incorporate handling of other data type casting
5a2162c0
review: transformation is profitable for other uses
73a77e81
review: avoid making seperate pass over block
966a8255
PankajDwivedi-25
jrbyrnes
arsenm
llvmbot llvmbot added vectorizers
llvmbot llvmbot added llvm:transforms
llvmbot llvmbot added llvm:vectorcombine
PankajDwivedi-25 PankajDwivedi-25 changed the title [AMDGPU][AMDGPULateCodeGenPrepare] Combine scalarized selects back into vector selects [VectorCombine] Fold scalar selects from bitcast into vector select 39 days ago
PankajDwivedi-25 PankajDwivedi-25 force pushed from 895590ec to 9d3200ea 39 days ago
review: apply the patch to vectorcombine based on suggestion
d6feb622
PankajDwivedi-25 PankajDwivedi-25 force pushed from 9d3200ea to d6feb622 39 days ago
PankajDwivedi-25
add TTI cost check to check profitability
d6ed38c6
jmmartinez
jmmartinez commented on 2026-01-02
review: split nested loop & enhance pattern match
3ae7b94c
jmmartinez
jmmartinez approved these changes on 2026-01-05
arsenm
arsenm commented on 2026-01-05
review: update run check
79d4c9b1
review:root the combine at def instead of the user
adab81d9
LU-JOHN
LU-JOHN
LU-JOHN approved these changes on 2026-01-05
PankajDwivedi-25
PankajDwivedi-25 PankajDwivedi-25 merged 72f18a05 into main 34 days ago
PankajDwivedi-25 PankajDwivedi-25 deleted the users/Pankajdwivedi-25/optimize-vgpr-uses-for-ternary-ops branch 34 days ago
arsenm
arsenm commented on 2026-01-07
PankajDwivedi-25 PankajDwivedi-25 restored the head branch 34 days ago

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone