[llvm] [VectorCombine] Fold scalar selects from bitcast into vector select (PR #173990)
Juan Manuel Martinez CaamaƱo via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 5 00:37:14 PST 2026
================
@@ -0,0 +1,1923 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 6
+; RUN: opt -mtriple=amdgcn-amd-amdhsa -mcpu=gfx942 -passes=vector-combine -S %s | FileCheck %s --check-prefix=CHECK-OPT
----------------
jmmartinez wrote:
If you use a common prefix for both cases, it would make obvious the case where the transformation is not happening.
e.g. `--check-prefixes=BOTH,CHEKC-OPT` and `--check-prefixes=BOTH,CHECK-NOOPT`.
https://github.com/llvm/llvm-project/pull/173990
More information about the llvm-commits
mailing list