[PATCH] D21400: AMDGPU: Emit R_AMDGPU_ABS32_{HI, LO} for scratch buffer relocations

Konstantin Zhuravlyov via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 16 09:20:31 PDT 2016

kzhuravl added inline comments.

Comment at: include/llvm/Object/RelocVisitor.h:144-146
@@ +143,5 @@
+        switch (RelocType) {
+        case llvm::ELF::R_AMDGPU_ABS32_LO:
+        case llvm::ELF::R_AMDGPU_ABS32_HI:
+          return visitELF_AMDGPU_32(R, Value);
+        default:
This processes HI relocations as LO. Should not LO and HI be processed differently, or am I missing something?


More information about the llvm-commits mailing list