[PATCH] D109031: [AMDGPU] Introduce optimizeCompareInstr
Stanislav Mekhanoshin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 31 21:44:19 PDT 2021
rampitec updated this revision to Diff 369841.
rampitec added a comment.
- Use getUniqueVRegDef() to find Def and check the Def before the scan.
- Drop checks for defines/modifies SrcReg since we are in SSA.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D109031/new/
https://reviews.llvm.org/D109031
Files:
llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
llvm/lib/Target/AMDGPU/SIInstrInfo.h
llvm/test/CodeGen/AMDGPU/optimize-compare.mir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D109031.369841.patch
Type: text/x-patch
Size: 33088 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210901/af0d77bc/attachment-0001.bin>
More information about the llvm-commits
mailing list