aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/MC/MCDisassembler/Disassembler.cpp
diff options
context:
space:
mode:
authorAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>2014-09-30 15:30:22 +0000
committerAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>2014-09-30 15:30:22 +0000
commitc7c524129bbaef8b1ae91c386bbb156cd79489b0 (patch)
tree21a2d24d0047f72ad9f3f282a5f7f90c42848298 /llvm/lib/MC/MCDisassembler/Disassembler.cpp
parent597eaf2a437cd29bb7f19cb86eb98a16290546a6 (diff)
downloadllvm-c7c524129bbaef8b1ae91c386bbb156cd79489b0.zip
llvm-c7c524129bbaef8b1ae91c386bbb156cd79489b0.tar.gz
llvm-c7c524129bbaef8b1ae91c386bbb156cd79489b0.tar.bz2
[DAG] Check in advance if a build_vector has a legal type before attempting to convert it into a shuffle.
Currently, the DAG Combiner only tries to convert type-legal build_vector nodes into shuffles. This patch simply moves the logic that checks if a build_vector has a legal value type up before we even start analyzing the operands. This allows to early exit immediately from method 'visitBUILD_VECTOR' if the node type is known to be illegal. No functional change intended. llvm-svn: 218677
Diffstat (limited to 'llvm/lib/MC/MCDisassembler/Disassembler.cpp')
0 files changed, 0 insertions, 0 deletions