arsenm wrote: > llvm.trunc is currently marked IntrNoMem in Intrinsics.td; you'll need to > update that if you want it to read/modify FP state. (Trying to override the > default by sticking attributes on top doesn't work properly, as far as I > know.)
I think we need a dedicated fp env attribute to model this https://github.com/llvm/llvm-project/pull/118253 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits