"llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.h" did not exist on "a7c40ef0224ba21c53d28b90fddbae0d4c5329c2"
[AMDGPU] Make more use of madmk/fmamk instructions
In convertToThreeAddress handle VOP2 mac/fmac instructions with a literal src0 operand, since these are prime candidates for converting to madmk/fmamk. Previously this would only happen if src0 (or src1) was a register defined by a move-immediate instruction, but in many cases these operands have already been folded because SIFoldOperands runs before TwoAddressInstructionPass. Differential Revision: https://reviews.llvm.org/D120736
Loading
Please sign in to comment