[PATCH] D98351: [llvm-opt] Bug fix within combining FP vectors
Caroline via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 18 10:47:41 PDT 2021
CarolineConcatto added a comment.
Just in case ...
================
Comment at: llvm/test/Transforms/InstCombine/AArch64/sve-splat.ll:9
+ ; CHECK-LABEL: @shrink_splat_scalable_extend
+ ; CHECK-NEXT: %1 = fadd <vscale x 2 x float> %a, shufflevector (<vscale x 2 x float> insertelement (<vscale x 2 x float> undef, float -1.000000e+00, i32 0), <vscale x 2 x float> undef, <vscale x 2 x i32> zeroinitializer)
+ ; CHECK-NEXT: ret <vscale x 2 x float> %1
----------------
; CHECK-NEXT: %1 = fadd -> ; CHECK-NEXT: %[[FADD:.*]] = fadd ....
or something like this.
================
Comment at: llvm/test/Transforms/InstCombine/AArch64/sve-splat.ll:10
+ ; CHECK-NEXT: %1 = fadd <vscale x 2 x float> %a, shufflevector (<vscale x 2 x float> insertelement (<vscale x 2 x float> undef, float -1.000000e+00, i32 0), <vscale x 2 x float> undef, <vscale x 2 x i32> zeroinitializer)
+ ; CHECK-NEXT: ret <vscale x 2 x float> %1
+ %1 = shufflevector <vscale x 2 x float> insertelement (<vscale x 2 x float> undef, float -1.000000e+00, i32 0), <vscale x 2 x float> undef, <vscale x 2 x i32> zeroinitializer
----------------
ret <vscale x 2 x float> %1 -> ret <vscale x 2 x float> %[[FADD]]
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D98351/new/
https://reviews.llvm.org/D98351
More information about the llvm-commits
mailing list