[PATCH] D42078: AMDGPU: Fold inline offset for loads properly in moveToVALU on GFX9

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 29 17:17:29 PST 2018


arsenm added inline comments.


================
Comment at: lib/Target/AMDGPU/SIInstrInfo.cpp:3769
+      if (Add &&
+          (Add->getOpcode() == AMDGPU::V_ADD_I32_e32 ||
+           Add->getOpcode() == AMDGPU::V_ADD_U32_e64)) {
----------------
It's a defect that at this point the e32 version is ever encountered. We shouldn't be emitting VCC uses up front. Where is this coming from? I thought I fixed most of these places already


Repository:
  rL LLVM

https://reviews.llvm.org/D42078





More information about the llvm-commits mailing list