summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReid Barton <rwbarton@gmail.com>2013-10-12 09:57:50 +1100
committerErik de Castro Lopo <erikd@mega-nerd.com>2013-10-12 12:14:25 +1100
commit896cee02e766c687a52cd75382bcfed64a623619 (patch)
tree3bafcab2e611ae88ec43b98dd0c4998e69335808
parentc6af06ef38813c460eaa0dec613eae98f4a57796 (diff)
downloadhaskell-896cee02e766c687a52cd75382bcfed64a623619.tar.gz
Make MO_Prefetch_Data a no-op in the C backend (#8437).
Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
-rw-r--r--compiler/cmm/PprC.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/cmm/PprC.hs b/compiler/cmm/PprC.hs
index a8d4c5e360..23989811dd 100644
--- a/compiler/cmm/PprC.hs
+++ b/compiler/cmm/PprC.hs
@@ -221,6 +221,7 @@ pprStmt stmt =
-- for a dynamic call, no declaration is necessary.
CmmUnsafeForeignCall (PrimTarget MO_Touch) _results _args -> empty
+ CmmUnsafeForeignCall (PrimTarget (MO_Prefetch_Data _)) _results _args -> empty
CmmUnsafeForeignCall target@(PrimTarget op) results args ->
fn_call