HomePhabricator

[AMDGPU] isRenamable fixes to support copy forwarding

Authored by gberry on Jan 30 2018, 9:37 AM.

Description

[AMDGPU] isRenamable fixes to support copy forwarding

Mark more opcodes as hasExtraSrcRegAllocReq so that their operands will
be marked as not renamable, to avoid copy forwarding violating the
constraint that only one operand may use the constant bus.

These changes fix a few mis-compiles when copy forwarding is enabled in
MachineCopyPropagation by D41835 (and were reviewed as part of that change).

llvm-svn: 323794

Details

Committed
gberryJan 30 2018, 9:37 AM
Parents
rGc9265e81f491: Run dos2unix in a few files. NFC.
Branches
Unknown
Tags
Unknown