[PATCH] D69989: Assume ieee behavior without denormal-fp-math attribute

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 14 11:44:23 PST 2020


arsenm marked an inline comment as done.
arsenm added inline comments.


================
Comment at: llvm/test/CodeGen/X86/sqrt-fastmath-tune.ll:101
 attributes #1 = { nounwind readnone }
+attributes #2 = { "denormal-fp-math"="ieee,preseve-sign" "unsafe-fp-math"="true" }
----------------
spatel wrote:
> arsenm wrote:
> > spatel wrote:
> > > Does the "preseve" typo affect anything?
> > These aren't hitting the expansion, so I guess it doesn't. I assume this has something to do with not using reciprocal-estimates? 
> Yes, this file isn't well-specified about what it's trying to test for. I updated it here:
> rG6071fc57a45f
> 
> That should remove it from this patch?
> 
> Independent of that - should we have an assert or warning that would catch typos in the attribute string?
I remember implementing a verifier check for this before ,but I can't seem to find the patch


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D69989/new/

https://reviews.llvm.org/D69989





More information about the llvm-commits mailing list