[all-commits] [llvm/llvm-project] e31f2a: [VectorCombine] add tests for scalarizing binop-wi...

RotateRight via All-commits all-commits at lists.llvm.org
Sun May 31 06:12:21 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: e31f2a894a7bec0a64553d615ef40fa36134844e
      https://github.com/llvm/llvm-project/commit/e31f2a894a7bec0a64553d615ef40fa36134844e
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2020-05-31 (Sun, 31 May 2020)

  Changed paths:
    A llvm/test/Transforms/VectorCombine/X86/insert-binop-with-constant.ll

  Log Message:
  -----------
  [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.




More information about the All-commits mailing list