[PATCH] D115853: [RISCV][NFC] Move ilp32e/rv32e checks to AsmParser and TargetLowering
    Yueh-Ting Chen via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Thu Dec 16 08:28:20 PST 2021
    
    
  
eopXD added inline comments.
================
Comment at: llvm/lib/Target/RISCV/RISCVISelLowering.cpp:72
+              "target-abi)\n";
+    ABI = Subtarget.is64Bit() ? RISCVABI::ABI_LP64 : RISCVABI::ABI_ILP32;
   }
----------------
jrtc27 wrote:
> This is clearly wrong, just copy-pasted from the RVI cases
Yes you are right. I think the code I added here is redundant. Just deleted.
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D115853/new/
https://reviews.llvm.org/D115853
    
    
More information about the llvm-commits
mailing list