summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2016-02-24 09:07:47 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2016-02-24 09:07:47 +0000
commitc291c0370268f986cb5fe2e845ef9af620dbdb83 (patch)
treee65e11952a4623ae536f5aa7938a94f344b5770e /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parentcb2aeb66e40fd454005601f5999a84310f4f6024 (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