[PATCH] D50633: [AMDGPU] Add new Mode Register pass

Nicolai Hähnle via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 29 03:29:48 PST 2018


nhaehnle added a comment.

Thank you. One question left though.



================
Comment at: lib/Target/AMDGPU/SIModeRegister.cpp:243-246
+      if (NewInfo->Change.isCompatible(InstrMode)) {
+        // This instruction is compatible, so just merge the mode
+        NewInfo->Change = NewInfo->Change.merge(InstrMode);
+      } else {
----------------
Hasn't this become redundant now?


Repository:
  rL LLVM

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

https://reviews.llvm.org/D50633





More information about the llvm-commits mailing list