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 | ae2c56d93e61204a634544bb3d9389adfcc060cb (patch) | |
tree | c78f7acced3b1eefd5ec421983f965d191b1308a /llvm/lib/CodeGen/SelectionDAG | |
parent | 4114219ac69cb11accdf5b68c6f4c836438fcd88 (diff) | |
download | bcm5719-llvm-ae2c56d93e61204a634544bb3d9389adfcc060cb.tar.gz bcm5719-llvm-ae2c56d93e61204a634544bb3d9389adfcc060cb.zip |
Default ISD::PREFETCH to expand.
llvm-svn: 48169
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp b/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp index 0025766f749..7900e97b248 100644 --- a/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp +++ b/llvm/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 |