[SLP] avoid 'tmp' value name conflict with auto-generated CHECK script; NFC
authorSanjay Patel <spatel@rotateright.com>
Fri, 1 Nov 2019 13:09:53 +0000 (09:09 -0400)
committerSanjay Patel <spatel@rotateright.com>
Fri, 1 Nov 2019 13:27:35 +0000 (09:27 -0400)
commit37628802bed834aa397475ef6cc36f2589666ef5
treed850c8d081630b4eeaea3b65a2c748e3d3a62805
parent2665f3e4364f4c3aca155e16070315f059a21b41
[SLP] avoid 'tmp' value name conflict with auto-generated CHECK script; NFC

The script uses 'TMP#' as its substitute for nameless values,
so if a test already contains 'tmp#' *named* values, then
there could be trouble. We should probably just fix the
script to avoid this problem going forward, but it's easy
enough to change a test too (and explicitly naming variables
'tmp' is always a sad choice).
llvm/test/Transforms/SLPVectorizer/X86/PR34635.ll