[NFC] Use variable GEP index in vec_demanded_elts tests
authorDavid Sherwood <david.sherwood@arm.com>
Wed, 12 May 2021 13:49:04 +0000 (14:49 +0100)
committerDavid Sherwood <david.sherwood@arm.com>
Wed, 12 May 2021 13:56:04 +0000 (14:56 +0100)
commit61630814b1d0415953fd4d1a58427836487f356c
tree91ae00ff91e274132855dd6f895fdaf7b6aabd59
parent4b98199ce8fb94d0de46e04b4d7b3a699691d2e1
[NFC] Use variable GEP index in vec_demanded_elts tests

I've changed a test in each of these files:

  Transforms/InstCombine/vec_demanded_elts.ll
  Transforms/InstCombine/vec_demanded_elts-inseltpoison.ll

to use a variable GEP index instead of a constant value so that
we're testing the more general case.
llvm/test/Transforms/InstCombine/vec_demanded_elts-inseltpoison.ll
llvm/test/Transforms/InstCombine/vec_demanded_elts.ll