summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
diff options
context:
space:
mode:
authorDaniel Sanders <daniel.sanders@imgtec.com>2013-09-03 09:45:20 +0000
committerDaniel Sanders <daniel.sanders@imgtec.com>2013-09-03 09:45:20 +0000
commitd9be5b2fdc22a8edf5b5687fcf7cba584735c7e7 (patch)
treeff2d18954861879fd673c6352023680bbbbf847e /llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
parent8d42228e4753ac4b7aaf2a3694dd97ddfbcfb732 (diff)
downloadbcm5719-llvm-d9be5b2fdc22a8edf5b5687fcf7cba584735c7e7.tar.gz
bcm5719-llvm-d9be5b2fdc22a8edf5b5687fcf7cba584735c7e7.zip
[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. llvm-svn: 189784
Diffstat (limited to 'llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud