[llvm] [lld] [XCOFF] Display branch-absolute targets in hex. (PR #72532)

Chen Zheng via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 6 18:24:03 PST 2023


================
@@ -798,6 +798,7 @@ def directbrtarget : Operand<OtherVT> {
 def absdirectbrtarget : Operand<OtherVT> {
   let PrintMethod = "printAbsBranchOperand";
   let EncoderMethod = "getAbsDirectBrEncoding";
+  let DecoderMethod = "decodeDirectBrTarget";
----------------
chenzheng1030 wrote:

This seems like a bug related to branch instruction decode?
Normally we need another patch to fix this as the fix here is not same with this patch's purpose.
Since this change is quite small, let's put them together.

https://github.com/llvm/llvm-project/pull/72532


More information about the llvm-commits mailing list