[PATCH] D49605: AMDGPU: Fix implementation of isCanonicalized

Stanislav Mekhanoshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 26 12:02:31 PDT 2018


rampitec added inline comments.


================
Comment at: lib/Target/AMDGPU/SIISelLowering.cpp:6784
+      if (Subtarget->supportsMinMaxDenormModes() ||
+          denormalsEnabledForType(Op.getValueType()))
+        return true;
----------------
I think you are missing DAG.isKnownNeverNaN() condition.


https://reviews.llvm.org/D49605





More information about the llvm-commits mailing list