aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/CodeGenPrepare.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2023-05-24 19:51:21 +0100
committerSimon Pilgrim <llvm-dev@redking.me.uk>2023-05-27 14:05:44 +0100
commit0f8e0f4228805cbecce13dcfadef4c48a4f0f4cd (patch)
tree02ed51bfad9b0251e238f26ab46e7bef64693430 /llvm/lib/CodeGen/CodeGenPrepare.cpp
parentfd0d846633b05e1d0072754aea7f3985be36c0dc (diff)
downloadllvm-0f8e0f4228805cbecce13dcfadef4c48a4f0f4cd.zip
llvm-0f8e0f4228805cbecce13dcfadef4c48a4f0f4cd.tar.gz
llvm-0f8e0f4228805cbecce13dcfadef4c48a4f0f4cd.tar.bz2
[X86] lowerBuildVectorAsBroadcast - broadcast Constant of original (BuildVector) element size
Noticed in D150143/D150526 - we currently create scalar Constant values using the broadcast instruction width, which might be wider than the original build vector width, making it tricky to recognise the original constant bits data. If we have widened the broadcast value, its much more useful for asm comments if we create a ConstantVector with the original element data, add that to the constant-pool and load that with the same (wider) broadcast instruction.
Diffstat (limited to 'llvm/lib/CodeGen/CodeGenPrepare.cpp')
0 files changed, 0 insertions, 0 deletions