[llvm] [DAG] Fold any-extend(and(trunc(x), C)) -> and(x, C) (PR #200052)

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 1 03:03:30 PDT 2026


================
@@ -0,0 +1,47 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
+; RUN: llc < %s -mtriple=x86_64-unknown-linux-gnu | FileCheck %s --check-prefix=X64
----------------
RKSimon wrote:

rename `aext-and-trunc.ll` ? A `-fold` postfix always seems redundant to me.

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


More information about the llvm-commits mailing list