[PATCH] D55402: [AMDGPU] Simplify negated condition
Nicolai Hähnle via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 7 08:08:10 PST 2018
nhaehnle added inline comments.
================
Comment at: lib/Target/AMDGPU/SIOptimizeExecMaskingPreRA.cpp:140
+
+ auto *And = TRI->findReachingDef(CondReg, AMDGPU::NoSubRegister,
+ *I, MRI, LIS);
----------------
Does this (and the other findReachingDef) need to be guarded to ensure the instructions come from the same basic block?
Or, to be more precise, against changes to EXEC in between?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D55402/new/
https://reviews.llvm.org/D55402
More information about the llvm-commits
mailing list