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

Stanislav Mekhanoshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 20 13:36:50 PDT 2019


rampitec added inline comments.


================
Comment at: lib/Target/AMDGPU/SIInstrInfo.td:2316
+  let FilterClass = "Base_SOPP";
+  let RowFields = ["AsmString"];
+  let ColFields = ["Size"];
----------------
I must be missing something, but how does it work? You are passing the same asm string into the both versions. What do you map to what then?


================
Comment at: test/MC/AMDGPU/offsetbug_once.s:9
+	s_nop 0
+        s_nop 0
+	s_nop 0
----------------
Indent.


================
Comment at: test/MC/AMDGPU/offsetbug_one_and_one.s:78
+	s_nop 0
+        s_endpgm
----------------
Indent.


================
Comment at: test/MC/AMDGPU/offsetbug_twice.s:112
+// BIN: s_cbranch_vccnz BB0_2 // 00000000017C: BF870003
+        s_nop 0
+        s_nop 0
----------------
And indent ;)


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