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

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 5 11:22:16 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:

For some reason if I make it not dead, it also breaks the inference of nocapture: https://godbolt.org/z/oWs5ana4c

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


More information about the llvm-commits mailing list