Swap operands now preserves the semantics of the binary operator by changing
authorChris Lattner <sabre@nondot.org>
Thu, 13 Dec 2001 00:43:03 +0000 (00:43 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 13 Dec 2001 00:43:03 +0000 (00:43 +0000)
commit9a49b210c1ae2c619ecd969b5ec17a68690928a9
treed14ae9d5cecaa497dcd307278357681517c334a4
parent82d18aa0e42a4858c2cb7c15934cc3e567432490
Swap operands now preserves the semantics of the binary operator by changing
the opcode of the instruction if possible.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1444 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/InstrTypes.h
lib/VMCore/iOperators.cpp