[llvm] [ARM] Expose supportsTailCalls in ARMTargetTransformInfo (PR #67932)
    David Green via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Mon Mar 11 00:50:20 PDT 2024
    
    
  
================
@@ -0,0 +1,60 @@
+; Test that ARMv6 correctly masks coroutine infrastructure from generating musttail calls
+; RUN: opt < %s -passes='cgscc(coro-split),simplifycfg,early-cse' -S \
+; RUN:     -mtriple=arm-none-eabi -mcpu=cortex-m0 | FileCheck %s
----------------
davemgreen wrote:
It might be worth having an extra check line for an arch that does support tail calls, to show the difference between the two
https://github.com/llvm/llvm-project/pull/67932
    
    
More information about the llvm-commits
mailing list