2 Commits

Author SHA1 Message Date
Roman Lebedev
f38f99bd76
[NFC] Port all MergeFunc tests to -passes= syntax 2022-12-07 22:22:08 +03:00
Nikita Popov
60e9ee16b4 [MergeFuncs] Don't merge shufflevectors with different masks
When the shufflevector mask operand was converted into special
instruction data, the FunctionComparator was not updated to
account for this. As such, MergeFuncs will happily merge
shufflevectors with different masks.

This fixes https://bugs.llvm.org/show_bug.cgi?id=45773.

Differential Revision: https://reviews.llvm.org/D79261
2020-05-02 10:21:14 +02:00