HomePhabricator

AMDGPU/GlobalISel: Fix RegBankSelect for G_INSERT_VECTOR_ELT

Authored by arsenm on Jan 3 2020, 5:22 PM.

Description

AMDGPU/GlobalISel: Fix RegBankSelect for G_INSERT_VECTOR_ELT

The result and source vector are going to be tied, so these need to be
the same bank.

The inserted value also needs to be broken down based on the result
bank, not the inserted value itself.

Details

Committed
arsenmJan 22 2020, 7:57 AM
Parents
rG04a151710e8b: [mlir] Swap use of to_vector() with lookupValues() in LLVMIRIntrinsicGen
Branches
Unknown
Tags
Unknown