This patch fixes bug https://llvm.org/bugs/show_bug.cgi?id=27897. When query memory access cost, current SLP always passes in alignment value of 1 (unaligned), so it gets a very high cost of scalar memory access, and wrongly vectorize memory loads in the test case. It can be fixed by simply giving correct alignment. llvm-svn: 271333
3 lines
71 B
INI
3 lines
71 B
INI
if not 'PowerPC' in config.root.targets:
|
|
config.unsupported = True
|