Skip to content

Commit d37ced8

Browse files
AMDGPU: refactor phi lowering from SILowerI1Copies (NFCI) (llvm#75349)
Make abstract class PhiLoweringHelper and expose it for use in GlobalISel path. SILowerI1Copies implements PhiLoweringHelper as Vreg1LoweringHelper and it is equivalent to SILowerI1Copies. Notable change that createLaneMaskReg now clones attributes from register that has lane mask attributes instead of creating register with lane mask register class. This is because lane masks have different(more) attributes in GlobalISel. patch 2 from: llvm#73337
1 parent a278ac5 commit d37ced8

File tree

2 files changed

+266
-150
lines changed

2 files changed

+266
-150
lines changed

0 commit comments

Comments
 (0)