[PATCH] D120887: The [2/2] Fix mangle problem when variable used in inline asm (non-rip for ARR[BaseReg+IndexReg+..])
    Xiang Zhang via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Thu Mar  3 21:32:37 PST 2022
    
    
  
xiangzhangllvm added inline comments.
================
Comment at: llvm/lib/MC/MCParser/AsmParser.cpp:6204
+      if (isSpecialIntelExprAppend(AsmStrRewrites, it))
+        OS << "${" << InputIdx++ << ":P}";
+      else
----------------
MODIFIER :P will disable ASMPrinter print PC related style for a Global Address.
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D120887/new/
https://reviews.llvm.org/D120887
    
    
More information about the llvm-commits
mailing list