[llvm] [polly] [SCEV] Add initial support for ptrtoaddr. (PR #158032)
    Nikita Popov via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Wed Oct 22 05:22:44 PDT 2025
    
    
  
================
----------------
nikic wrote:
We shouldn't test `-disable-verify` here. Unlike ptrtoint, the ptrtoaddr result type is fixed (and equal to the "effective SCEV type" of the pointer), so any zext/trunc handling is not applicable for this instruction. `getPtrToAddrExpr()` should probably not even accept a type argument?
https://github.com/llvm/llvm-project/pull/158032
    
    
More information about the llvm-commits
mailing list