Issue 148851
Summary [LoopInterchange] Reject cases where ninf flag is present
Labels new issue
Assignees madhur13490
Reporter madhur13490
    
When this flag is present on instructions, semantics guarantee that input/output will not +/- inf. Interchange may lead to the result being +/- inf. I think when this flag is present on the instructions, we should reject interchange and bail out.

LLVM fast-math flags: https://llvm.org/docs/LangRef.html#fast-math-flags

This can be considered as an extension to https://github.com/llvm/llvm-project/pull/148612
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to