[PATCH] D133012: [AMDGPU] Add subtarget feature for MAD_U64/I64 bug on GFX11

Mirko Brkusanin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 17 06:14:21 PST 2022


mbrkusanin updated this revision to Diff 476105.
mbrkusanin added a comment.

- By overriding opName (or PseudoInstr of tablegen record) for _strict pseudo we can have both pseudos select into same real instruction, so now we don't need two.
- Updated use of features/predicate so now it works properly with -mattr=-mad-intra-fwd-bug which was the point of this change.




CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D133012/new/

https://reviews.llvm.org/D133012

Files:
  llvm/lib/Target/AMDGPU/AMDGPU.td
  llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
  llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
  llvm/lib/Target/AMDGPU/GCNSubtarget.h
  llvm/lib/Target/AMDGPU/VOP3Instructions.td
  llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-mad_64_32.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D133012.476105.patch
Type: text/x-patch
Size: 9352 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221117/6185330d/attachment-0001.bin>


More information about the llvm-commits mailing list