[PATCH] D127894: AMDGPU: Fix invalid liveness after si-optimize-exec-masking-pre-ra

Stanislav Mekhanoshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 15 12:29:00 PDT 2022


rampitec added inline comments.


================
Comment at: llvm/lib/Target/AMDGPU/SIOptimizeExecMaskingPreRA.cpp:200
+
+  SlotIndex AndIdx = LIS->ReplaceMachineInstrInMaps(*And, *Andn2);
 
----------------
You probably need to replace it first and the erase.


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

https://reviews.llvm.org/D127894



More information about the llvm-commits mailing list