[llvm] [VectorCombine] Generalize foldBitOpOfBitcasts to support more cast operations (PR #148350)
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 21 04:40:37 PDT 2025
================
@@ -0,0 +1,263 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
+; RUN: opt < %s -passes=vector-combine -S -mtriple=x86_64-- | FileCheck %s
+
+; Test bitwise operations with bitcast
+define <4 x i32> @and_bitcast_v4f32_to_v4i32(<4 x float> %a, <4 x float> %b) {
----------------
RKSimon wrote:
That seems to be the only outstanding - cheers
https://github.com/llvm/llvm-project/pull/148350
More information about the llvm-commits
mailing list