[PATCH] D18972: [AMDGPU] Add basic relocation support (currently used for dwarf only)
Tom Stellard via llvm-commits
llvm-commits at lists.llvm.org
Fri May 20 18:50:38 PDT 2016
tstellarAMD added inline comments.
================
Comment at: lib/MC/MCExpr.cpp:280-282
@@ -279,2 +279,5 @@
case VK_WebAssembly_FUNCTION: return "FUNCTION";
+ case VK_AMDGPU_32_LO: return "32_LO";
+ case VK_AMDGPU_32_HI: return "32_HI";
+ case VK_AMDGPU_64: return "64";
}
----------------
I think for assembler support, you also need to add these to MCSymbolRefExpr::getVariantKindForName(StringRef Name)
http://reviews.llvm.org/D18972
More information about the llvm-commits
mailing list