aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineCombiner.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2020-05-31 09:05:48 -0400
committerSanjay Patel <spatel@rotateright.com>2020-05-31 09:11:30 -0400
commite31f2a894a7bec0a64553d615ef40fa36134844e (patch)
treec1c7c2ef1658aa6499a3e5c449ee874bef17513e /llvm/lib/CodeGen/MachineCombiner.cpp
parentf046326847076b50017b3d32db62c3511c478888 (diff)
downloadllvm-e31f2a894a7bec0a64553d615ef40fa36134844e.zip
llvm-e31f2a894a7bec0a64553d615ef40fa36134844e.tar.gz
llvm-e31f2a894a7bec0a64553d615ef40fa36134844e.tar.bz2
[VectorCombine] add tests for scalarizing binop-with-constant; NFC
Goes with proposal in D80885. This is adapted from the InstCombine tests that were added for D50992 But these should be adjusted further to provide more interesting scenarios for x86-specific codegen. Eg, vector types/sizes will have different costs depending on ISA attributes. We also need to add tests that include a load of the scalar variable and add tests that include extra uses of the insert to further exercise the cost model.
Diffstat (limited to 'llvm/lib/CodeGen/MachineCombiner.cpp')
0 files changed, 0 insertions, 0 deletions