[PATCH] D47383: [AMDGPU] Avoid using divergent value in mubuf addr64 descriptor

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 1 01:38:15 PDT 2018


arsenm added inline comments.


================
Comment at: lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp:1002
+  const SDValue Ops0[] = {
+    DAG.getTargetConstant(AMDGPU::SGPR_64RegClassID, DL, MVT::i32),
+    SDValue(DAG.getMachineNode(AMDGPU::S_MOV_B32, DL, MVT::i32, ValLo), 0),
----------------
arsenm wrote:
> SReg_64_XEXEC
Probably should also create a helper that the constant lowering can use as well since this is basically the same


Repository:
  rL LLVM

https://reviews.llvm.org/D47383





More information about the llvm-commits mailing list