[llvm] [GlobalISel] emit G_BITCAST in widenScalarMergeValues when DstTy does not match WideTy (PR #203014)

Kacper Doga via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 3 03:30:08 PDT 2026


================
@@ -1895,6 +1895,84 @@ TEST_F(AArch64GISelMITest, WidenScalarMergeValuesPointer) {
   EXPECT_TRUE(CheckMachineFunction(*MF, CheckStr)) << *MF;
 }
 
+TEST_F(AArch64GISelMITest, WidenScalarMergeValuesFloat) {
----------------
varev-dev wrote:

Right, after adding MIR/LL tests they are not necessary.

Removed them in [ff8f9c6](https://github.com/llvm/llvm-project/pull/203014/commits/ff8f9c64e25447defa6fe1131838bb9b009dad92).

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


More information about the llvm-commits mailing list