[llvm] [X86] Invert (and X, ~(and ~Y, Z)) back into (and X, (or Y, ~Z)) (PR #109215)

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 9 06:42:48 PDT 2024


================
@@ -0,0 +1,40 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 5
+; RUN: llc < %s -mtriple=x86_64-gnu-unknown -mcpu=znver3 | FileCheck %s
+
+define dso_local i64 @foo(i64 %0, i64 %1, i64 %2, i64 %3) local_unnamed_addr {
----------------
RKSimon wrote:

Test cleanup (same for fooVec):
remove dso_local  / local_unnamed_addr noise
use named variables not numbers
rename foo / fooVec with descriptive names

https://github.com/llvm/llvm-project/pull/109215


More information about the llvm-commits mailing list