[PATCH] D47516: AMDGPU/R600: Make sure functions are 8 byte aligned
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed May 30 02:10:30 PDT 2018
arsenm added inline comments.
================
Comment at: lib/Target/AMDGPU/R600AsmPrinter.cpp:106-109
+
+ // All CF instructions need to be 8 byte aligned. Since functions begin
+ // with a CF instruction, they all need to be 8 by aligned.
+ MF.setAlignment(8);
----------------
Should be ensureAlignment
Repository:
rL LLVM
https://reviews.llvm.org/D47516
More information about the llvm-commits
mailing list