[PATCH] D64766: [AMDGPU] Enable merging m0 initializations.

Stanislav Mekhanoshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 15 13:38:57 PDT 2019


rampitec added inline comments.


================
Comment at: llvm/lib/Target/AMDGPU/SIFixSGPRCopies.cpp:510
+        auto interferes = [&](MachineBasicBlock::iterator From,
                                MachineBasicBlock::iterator To) -> bool {
 
----------------
Source alignment is off.


================
Comment at: llvm/test/CodeGen/AMDGPU/merge-m0.mir:149
+name:            merge-m0-dont-hoist-past-init-with-different-initializer
+alignment: 0
+exposesReturnsTwice: false
----------------
Most of these attributes can be removed.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D64766





More information about the llvm-commits mailing list