Clean up uses of switch instructions so they are not dependent on the operand orderin...
authorEli Friedman <eli.friedman@gmail.com>
Thu, 29 Sep 2011 20:21:17 +0000 (20:21 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Thu, 29 Sep 2011 20:21:17 +0000 (20:21 +0000)
commitbb5a7442e362776621112dc9453e546a55878e79
tree6f504615cfbcf1d88494b1688f90eecb2998855a
parent0066f9290e95dddedc47472e927319893929b05b
Clean up uses of switch instructions so they are not dependent on the operand ordering.  Patch by Stepan Dyatkovskiy.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140803 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Instructions.h
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
lib/ExecutionEngine/Interpreter/Execution.cpp
lib/Target/CBackend/CBackend.cpp
lib/Target/CppBackend/CPPBackend.cpp
lib/Transforms/InstCombine/InstructionCombining.cpp
lib/Transforms/Utils/LowerSwitch.cpp
lib/VMCore/AsmWriter.cpp