[PATCH] D23490: [AVX512] Generate KORTEST instead of TEST.

Elena Demikhovsky via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 28 09:13:57 PDT 2016


delena added inline comments.

================
Comment at: lib/Target/X86/X86ISelLowering.cpp:14856
@@ +14855,3 @@
+
+  // Most probably the value in GPR, use TRUNCATE + CMP.
+  if(Op.getOpcode() == ISD::TRUNCATE ||
----------------
use ZEXT + CMP

================
Comment at: lib/Target/X86/X86ISelLowering.cpp:14856
@@ +14855,3 @@
+
+  // Most probably the value in GPR, use TRUNCATE + CMP.
+  if(Op.getOpcode() == ISD::TRUNCATE ||
----------------
delena wrote:
> use ZEXT + CMP
the value is in GPR

================
Comment at: test/CodeGen/X86/masked_gather_scatter.ll:6
@@ -4,3 +5,3 @@
 ; RUN: llc -mtriple=i386-unknown-linux-gnu  -mattr=+avx512vl -mattr=+avx512dq < %s | FileCheck %s --check-prefix=SKX_32
-; RUN: opt -mtriple=x86_64-apple-darwin -codegenprepare -mcpu=corei7-avx -S < %s | FileCheck %s -check-prefix=SCALAR
-; RUN: llc -O0 -mtriple=x86_64-unknown-linux-gnu -mcpu=skx < %s -o /dev/null
+; RUN-1: opt -mtriple=x86_64-apple-darwin -codegenprepare -mcpu=corei7-avx -S < %s | FileCheck %s -check-prefix=SCALAR
+; RUN-1: llc -O0 -mtriple=x86_64-unknown-linux-gnu -mcpu=skx < %s -o /dev/null
----------------
What is RUN-1?


Repository:
  rL LLVM

https://reviews.llvm.org/D23490





More information about the llvm-commits mailing list