[llvm] Attributor: Add denormal-fp-math to attributor-light (PR #79576)

Shilei Tian via llvm-commits llvm-commits at lists.llvm.org
Sun Mar 3 22:27:47 PST 2024


================
@@ -371,7 +371,6 @@ define void @nc4(ptr %p) {
 ; ATTRIBUTOR: Function Attrs: nosync nounwind memory(read)
 ; ATTRIBUTOR-LABEL: define void @nc4
 ; ATTRIBUTOR-SAME: (ptr nocapture readonly [[P:%.*]]) #[[ATTR7:[0-9]+]] {
-; ATTRIBUTOR-NEXT:    call void @external(ptr nocapture readonly [[P]]) #[[ATTR4]]
----------------
shiltian wrote:

Because `AADenormalFPMathFunction` needs to check all the call sites, which needs to know whether a call site is assumed dead or not.

https://github.com/llvm/llvm-project/pull/79576


More information about the llvm-commits mailing list