You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am wondering why this is. Note that this is distinct from the -functionattrs pass that can deduce attributes based on the contents of functions. The -inferattrs pass only infers attributes of library API declarations based on the name and signature, using the big list here:
I don't see anything CilkABI-related in the list, so I'm wondering: how does -inferattrs help lowering? Is that pass actually unneeded and can it be removed?
The text was updated successfully, but these errors were encountered:
At one point this was necessary to ensure certain properties about the reference pipeline being true, though I don't believe that's presently the case so it probably can be removed.
The
-inferattrs
pass is run both before and after lowering:Tapir-LLVM/lib/Transforms/IPO/PassManagerBuilder.cpp
Line 741 in 89bb9a7
I am wondering why this is. Note that this is distinct from the
-functionattrs
pass that can deduce attributes based on the contents of functions. The-inferattrs
pass only infers attributes of library API declarations based on the name and signature, using the big list here:Tapir-LLVM/lib/Transforms/Utils/BuildLibCalls.cpp
Line 108 in 6d439c5
I don't see anything CilkABI-related in the list, so I'm wondering: how does
-inferattrs
help lowering? Is that pass actually unneeded and can it be removed?The text was updated successfully, but these errors were encountered: