diff options
author | Daniel Sanders <daniel.sanders@imgtec.com> | 2013-09-03 09:45:20 +0000 |
---|---|---|
committer | Daniel Sanders <daniel.sanders@imgtec.com> | 2013-09-03 09:45:20 +0000 |
commit | fdb6a38913cc54e9523b1ee1aab2cc3be27ea4f7 (patch) | |
tree | 74b1c6f5ba7f9ba76e0a03969086c4465a3a9561 /test | |
parent | 8092b710016873ebf569f66e598911fa94b4ea85 (diff) | |
download | external_llvm-fdb6a38913cc54e9523b1ee1aab2cc3be27ea4f7.zip external_llvm-fdb6a38913cc54e9523b1ee1aab2cc3be27ea4f7.tar.gz external_llvm-fdb6a38913cc54e9523b1ee1aab2cc3be27ea4f7.tar.bz2 |
[mips][msa] Added IntrNoMem and removed Commutative from sub intrinsics.
This changes the SelectionDAG nodes from ISD::INTRINSIC_W_CHAIN to
ISD::INTRINSIC_WO_CHAIN which enables easy lowering to equivalent SelectionDAG
nodes (e.g. __builtin_msa_sub_w -> ISD::SUB) in future patches since nodes
such as ISD::SUB do not have a chain.
It also corrects an obvious mistake, namely that the subtract intrinsics were
marked as being commutative.
As per a similar change in r189106
(http://llvm.org/viewvc/llvm-project?rev=189106&view=rev) there isn’t a new
testcase in this patch since the existing tests should test the intrinsics to
the same standard and the best I can do for a testcase would be a fragile
pass/maybe test of whether memory operations can (and do) cross the intrinsic.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189784 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions