From e4c2111aa446ee74a7a6ecfe065fa1739e06f75b Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Mon, 27 Jun 2016 21:42:49 +0000 Subject: [PATCH] AMDGPU: Set MinInstAlignment Not sure this actually changes anything git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@273947 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCAsmInfo.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCAsmInfo.cpp b/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCAsmInfo.cpp index d7eb9f9ac0d..1655591abf3 100644 --- a/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCAsmInfo.cpp +++ b/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCAsmInfo.cpp @@ -16,6 +16,7 @@ using namespace llvm; AMDGPUMCAsmInfo::AMDGPUMCAsmInfo(const Triple &TT) : MCAsmInfoELF() { HasSingleParameterDotFile = false; //===------------------------------------------------------------------===// + MinInstAlignment = 4; MaxInstLength = (TT.getArch() == Triple::amdgcn) ? 8 : 16; SeparatorString = "\n"; CommentString = ";"; -- 2.50.1