Use Instruction::isCommutative instead of duplicating it.
authorDan Gohman <gohman@apple.com>
Mon, 22 Feb 2010 22:05:18 +0000 (22:05 +0000)
committerDan Gohman <gohman@apple.com>
Mon, 22 Feb 2010 22:05:18 +0000 (22:05 +0000)
commitd97439d1e5a04a580c48b98512885866dcc83e2a
treee582f92e27371d14e54cc0ac3929f8c03e9bc9b0
parent2ec5e49a2ba3c8a6ea53c13d4393d57ad1dbb64b
Use Instruction::isCommutative instead of duplicating it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96807 91177308-0d34-0410-b5e6-96231b3b80d8
lib/VMCore/ConstantFold.cpp