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

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 4 00:17:42 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]]
----------------
arsenm wrote:

But it doesn't need to know that, it can just assume no callsites are dead. The behavior without it makes no sense

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


More information about the llvm-commits mailing list