[PATCH] D144984: [X86] Fix `(shift X, (xor Y, N-1))` -> `(shift X, (not Y))` by properly inserting `not Y` into DAG. [#61038]

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 28 13:46:11 PST 2023


RKSimon added inline comments.


================
Comment at: llvm/test/CodeGen/X86/pr61038.ll:4
+; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mcpu=x86-64-v4 | FileCheck %s --check-prefix=CHECK,CHECK-X64-V4
+; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mattr=+bmi | FileCheck %s --check-prefix=CHECK,CHECK-X64-BMI
+
----------------
RKSimon wrote:
> remove the unused CHECK prefix and replace CHECK-X64-SKX/CHECK-X64-V4 with CHECK-X64-BMI2
Remove CHECK-SKX / CHECK-V4


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D144984/new/

https://reviews.llvm.org/D144984



More information about the llvm-commits mailing list