[PATCH] D34130: [AMDGPU] Eliminate SGPR to VGPR copy when possible

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 20 11:04:05 PDT 2017


arsenm accepted this revision.
arsenm added a comment.
This revision is now accepted and ready to land.

LGTM. It's possible to reduce the mir testcase further though



================
Comment at: test/CodeGen/AMDGPU/opt-sgpr-to-vgpr-copy.mir:102-117
+  isFrameAddressTaken: false
+  isReturnAddressTaken: false
+  hasStackMap:     false
+  hasPatchPoint:   false
+  stackSize:       0
+  offsetAdjustment: 0
+  maxAlignment:    0
----------------
You can strip out most of this stuff


Repository:
  rL LLVM

https://reviews.llvm.org/D34130





More information about the llvm-commits mailing list