[PATCH] D70085: [AMDGPU] NFC target dependent requiresUniformRegister refactored out

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 26 10:17:21 PDT 2020


arsenm added inline comments.


================
Comment at: llvm/include/llvm/CodeGen/TargetLowering.h:712
+                           MachineFunction &MF, const Value *V) const {
+    return DA && DA->isDivergent(V);
   }
----------------
The DA check could have skipped the virtual call


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

https://reviews.llvm.org/D70085





More information about the llvm-commits mailing list