[llvm] [xray] Do not emit tail exit hooks for conditional tail calls (PR #89364)
    Ricky Zhou via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Fri Apr 19 17:20:10 PDT 2024
    
    
  
rickyz wrote:
By the way, I'm not sure whether this bug happens on other architectures with xray support. The most straightforward reference I found to emitting conditional tail calls was https://github.com/llvm/llvm-project/blob/c60aa430dc4085d276a630699323068bf36bd9d8/llvm/lib/CodeGen/BranchFolding.cpp#L1536, and `canMakeTailCallConditional()` is only true on x86. I'm not sure if I am missing other places that might generate these though.
https://github.com/llvm/llvm-project/pull/89364
    
    
More information about the llvm-commits
mailing list