[PATCH] D63494: [AMDGPU] Fix for branch offset hardware workaround
Stanislav Mekhanoshin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 18 16:40:57 PDT 2019
rampitec added inline comments.
================
Comment at: lib/Target/AMDGPU/MCTargetDesc/AMDGPUAsmBackend.cpp:113
+
+ switch (Inst.getOpcode()) {
+ case AMDGPU::S_BRANCH:
----------------
I'd suggest using a multiclass to define and InstrMapping instead of switches.
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