[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 10:38:28 PST 2023
RKSimon accepted this revision.
RKSimon added inline comments.
This revision is now accepted and ready to land.
================
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
+
----------------
remove the unused CHECK prefix and replace CHECK-X64-SKX/CHECK-X64-V4 with CHECK-X64-BMI2
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