- Add "Commutative" property to intrinsics. This allows tblgen to generate the commut...
authorEvan Cheng <evan.cheng@apple.com>
Mon, 16 Jun 2008 20:29:38 +0000 (20:29 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Mon, 16 Jun 2008 20:29:38 +0000 (20:29 +0000)
commit6bd9567a6a1ba62118cdd258ddc52ea8f82ff511
treeefa5e78092725455c72491bb166a2ad3aa9648a0
parent35b9a7790e904abce4e6dac3f1ed89696522f19a
- Add "Commutative" property to intrinsics. This allows tblgen to generate the commuted variants for dagisel matching code.
- Mark lots of X86 intrinsics as "Commutative" to allow load folding.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52353 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Intrinsics.td
include/llvm/IntrinsicsX86.td
test/CodeGen/X86/commute-intrinsic.ll [new file with mode: 0644]
utils/TableGen/CodeGenDAGPatterns.cpp
utils/TableGen/CodeGenDAGPatterns.h
utils/TableGen/CodeGenIntrinsics.h
utils/TableGen/CodeGenTarget.cpp