diff options
author | Evan Cheng <evan.cheng@apple.com> | 2008-03-10 19:38:10 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2008-03-10 19:38:10 +0000 |
commit | 8d51ab3e4bb3f45ab8818519c5d27154cecf8b72 (patch) | |
tree | 03969d86bc8980e29484309e0af62e03d3e5ce35 /lib/CodeGen/SelectionDAG/TargetLowering.cpp | |
parent | bd97af057e8e7d03ae8300e570483ffbb3c40e5a (diff) | |
download | external_llvm-8d51ab3e4bb3f45ab8818519c5d27154cecf8b72.zip external_llvm-8d51ab3e4bb3f45ab8818519c5d27154cecf8b72.tar.gz external_llvm-8d51ab3e4bb3f45ab8818519c5d27154cecf8b72.tar.bz2 |
Default ISD::PREFETCH to expand.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48169 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/TargetLowering.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/TargetLowering.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/CodeGen/SelectionDAG/TargetLowering.cpp b/lib/CodeGen/SelectionDAG/TargetLowering.cpp index 0025766..7900e97 100644 --- a/lib/CodeGen/SelectionDAG/TargetLowering.cpp +++ b/lib/CodeGen/SelectionDAG/TargetLowering.cpp @@ -178,6 +178,9 @@ TargetLowering::TargetLowering(TargetMachine &tm) // These operations default to expand. setOperationAction(ISD::FGETSIGN, (MVT::ValueType)VT, Expand); } + + // Most targets ignore the @llvm.prefetch intrinsic. + setOperationAction(ISD::PREFETCH, MVT::Other, Expand); // ConstantFP nodes default to expand. Targets can either change this to // Legal, in which case all fp constants are legal, or use addLegalFPImmediate |