[llvm] [SPIRV] Enable DCE in instruction selection and update tests (PR #168428)

Nathan Gauër via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 19 11:22:34 PST 2025


================
@@ -94,6 +94,9 @@ class SPIRVInstructionSelector : public InstructionSelector {
 
 private:
   void resetVRegsType(MachineFunction &MF);
+  // New helper function for dead instruction removal
----------------
Keenuts wrote:

nit: remove? comment doesn't add much value no? Or maybe explain what those 2 functions are assuming/doing?

https://github.com/llvm/llvm-project/pull/168428


More information about the llvm-commits mailing list