diff options
Diffstat (limited to 'lib/Target/CBackend/Writer.cpp')
-rw-r--r-- | lib/Target/CBackend/Writer.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/Target/CBackend/Writer.cpp b/lib/Target/CBackend/Writer.cpp index e2431a2eb1..dfd06a73e7 100644 --- a/lib/Target/CBackend/Writer.cpp +++ b/lib/Target/CBackend/Writer.cpp @@ -1508,15 +1508,14 @@ void CWriter::visitCallInst(CallInst &I) { Out << ')'; return; case Intrinsic::prefetch: - // This is only supported on GCC for now... - Out << "LLVM_PREFETCH((const void *)"; + Out << "LLVM_PREFETCH((const void *)"; writeOperand(I.getOperand(1)); Out << ", "; writeOperand(I.getOperand(2)); Out << ", "; writeOperand(I.getOperand(3)); Out << ")"; - return; + return; } } |