[PATCH] D30186: [AVX-512] Allow legacy scalar min/max intrinsics to select EVEX instructions when available

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 21 22:49:57 PST 2017


craig.topper added inline comments.


================
Comment at: lib/Target/X86/X86ISelLowering.cpp:18989
+        if (!isRoundModeCurDirection(Rnd))
+          return getScalarMaskingNode(DAG.getNode(IntrWithRoundingModeOpcode,
+                                                  dl, VT, Src1, Src2, Rnd),
----------------
zvi wrote:
> Are there tests that cover this case?
Yes there are.


https://reviews.llvm.org/D30186





More information about the llvm-commits mailing list