[PATCH] D63494: [AMDGPU] Fix for branch offset hardware workaround

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 20 15:10:18 PDT 2019


arsenm requested changes to this revision.
arsenm added inline comments.
This revision now requires changes to proceed.


================
Comment at: lib/Target/AMDGPU/MCTargetDesc/AMDGPUAsmBackend.cpp:10
 
+#include "SIInstrInfo.h"
 #include "MCTargetDesc/AMDGPUFixupKinds.h"
----------------
This is a layering violation


================
Comment at: lib/Target/AMDGPU/MCTargetDesc/AMDGPUAsmBackend.cpp:73-76
+  if (((int64_t(Value)/4)-1) == 0x3f)
+    return true;
+  else
+    return false;
----------------
return test();


Repository:
  rL LLVM

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

https://reviews.llvm.org/D63494





More information about the llvm-commits mailing list