[lld] [llvm] [RISCV] Support printing immediate of RISCV MCInst in hexadecimal format (PR #74053)
    Wang Yaduo via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Tue Dec  5 18:28:01 PST 2023
    
    
  
MouseSplinter wrote:
> gnu objdump for RISC-V is inconsistent. Looking at a dump from 2.41 I see Shift by immediate uses hex. addi/andi/ori/xori/li use decimal lui uses hex. load/store offset use decimal. label offsets on branches use hex vmv.v.i uses decimal
Thanks for your correction, and do you think we should conform to gnu's behavior?  Or just be the same as other architecture in llvm.
https://github.com/llvm/llvm-project/pull/74053
    
    
More information about the llvm-commits
mailing list