commit | d1d68074a0e6eebbfdde72a29e14f1cd3e831c67 | [log] [tgz] |
---|---|---|
author | Evan Cheng <evan.cheng@apple.com> | Sat Mar 08 00:58:38 2008 +0000 |
committer | Evan Cheng <evan.cheng@apple.com> | Sat Mar 08 00:58:38 2008 +0000 |
tree | 57198f184b01fe55ebbca8a70a05c679e1011b97 | |
parent | fe65bda402630a99dc3d8480b0727f14c4e916ea [diff] [blame] |
Implement x86 support for @llvm.prefetch. It corresponds to prefetcht{0|1|2} and prefetchnta instructions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48042 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index 1db78fe..b3251b0 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
@@ -3788,6 +3788,7 @@ return "<<Unknown Target Node>>"; } + case ISD::PREFETCH: return "Prefetch"; case ISD::MEMBARRIER: return "MemBarrier"; case ISD::ATOMIC_LCS: return "AtomicLCS"; case ISD::ATOMIC_LAS: return "AtomicLAS";