diff options
| author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2016-02-24 09:07:47 +0000 |
|---|---|---|
| committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2016-02-24 09:07:47 +0000 |
| commit | c291c0370268f986cb5fe2e845ef9af620dbdb83 (patch) | |
| tree | e65e11952a4623ae536f5aa7938a94f344b5770e /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | cb2aeb66e40fd454005601f5999a84310f4f6024 (diff) | |
[X86][SSE] Don't get target shuffle operands prematurely.
PerformShuffleCombine should be usable by unary and binary target shuffles, but was attempting to get the first two operands whatever the instruction type. Since these are only used for VECTOR_SHUFFLE instructions for one particular combine I've moved them inside the relevant if statement.
llvm-svn: 261727
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
