[PATCH] D104740: [OpaquePtr] Support call instruction
    Arthur Eubanks via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Tue Jun 22 13:44:21 PDT 2021
    
    
  
aeubanks added a comment.
could you add a test for a call with arguments?
================
Comment at: llvm/lib/AsmParser/LLParser.cpp:1480
   if (IsCall && isa<PointerType>(Ty)) {
+    if (isa<PointerType>(ValTy) && cast<PointerType>(ValTy)->isOpaque())
+      return Val;
----------------
we still need to check the address space like below
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D104740/new/
https://reviews.llvm.org/D104740
    
    
More information about the llvm-commits
mailing list