[PATCH] D143515: [AsmPrinter] Add hook to override constant folding for printing.
    Krzysztof Drewniak via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Thu Feb 16 10:11:17 PST 2023
    
    
  
krzysz00 added a comment.
Having done some looking, I don't think that it's trivial to add bigint support to `MCExpr`, since that would mean that the MC emitting infrastructure would need to know the target endianness, which it doesn't look like it does.
And there's a lot of functions on MCExpr that return [u]int64_t, and we'd either need those to fail on big ints or we'd need to rework them to use APInts or something.
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D143515/new/
https://reviews.llvm.org/D143515
    
    
More information about the llvm-commits
mailing list