llvm-project
0bef4c7a - [AMDGPU] Add v2i32 and/or patterns for VOP3 AND_OR and OR3 operations (#188375)

Commit
27 days ago
[AMDGPU] Add v2i32 and/or patterns for VOP3 AND_OR and OR3 operations (#188375) Add ThreeOp_v2i32_Pats pattern class to support v2i32 vector operations for AND_OR_B32 and OR3_B32 instructions. The new patterns check the v2i32 and-or or or-or instruction sequence, extract individual 32-bit elements from v2i32 operands, and applies the and_or or or3 vop3 operations.
Author
Parents
Loading