[PATCH] D54882: [AMDGPU] Add sdwa support for ADD|SUB U64 decomposed Pseudos
Stanislav Mekhanoshin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 27 14:50:41 PST 2018
rampitec added inline comments.
================
Comment at: lib/Target/AMDGPU/SIPeepholeSDWA.cpp:910
+ MachineInstr *MICI = MRI->getUniqueVRegDef(CarryIn->getReg());
+ if (MICI != &MI)
+ return;
----------------
This check is not needed. findSingleRegUse() already did it.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D54882/new/
https://reviews.llvm.org/D54882
More information about the llvm-commits
mailing list