[PATCH] D65205: [RISCV] Add Custom Parser for Atomic Memory Operands
    James Clarke via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Thu Jul 25 10:00:58 PDT 2019
    
    
  
jrtc27 added inline comments.
================
Comment at: llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp:1301
+  // Normally, we would be able to parse these by putting the parens into the
+  // instruction string. However, GCC also accepts a zero-offset memory operand
+  // (such as `0(a0)`), and ignores the 0. Normally this would be parsed with
----------------
GNU as
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D65205/new/
https://reviews.llvm.org/D65205
    
    
More information about the llvm-commits
mailing list