summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/fast-isel.ll
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2012-07-06 17:33:39 +0000
committerChad Rosier <mcrosier@apple.com>2012-07-06 17:33:39 +0000
commit88d53eae5696ff9c6bab8e4273862578f98115a6 (patch)
tree73fada22be6198e066121cc700fcc34ff2d1394f /llvm/test/CodeGen/X86/fast-isel.ll
parent4cb38a82a26cb3f4ac86834659e0af5f873c1d5b (diff)
downloadbcm5719-llvm-88d53eae5696ff9c6bab8e4273862578f98115a6.tar.gz
bcm5719-llvm-88d53eae5696ff9c6bab8e4273862578f98115a6.zip
[fast-isel] Tell fast-isel to do nothing with the new donothing intrinsic.
llvm-svn: 159837
Diffstat (limited to 'llvm/test/CodeGen/X86/fast-isel.ll')
-rw-r--r--llvm/test/CodeGen/X86/fast-isel.ll8
1 files changed, 8 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/X86/fast-isel.ll b/llvm/test/CodeGen/X86/fast-isel.ll
index 9d9a520c6a2..132df2b0ab4 100644
--- a/llvm/test/CodeGen/X86/fast-isel.ll
+++ b/llvm/test/CodeGen/X86/fast-isel.ll
@@ -117,3 +117,11 @@ define i64* @life() nounwind {
ret i64* %a3
}
+declare void @llvm.donothing() readnone
+
+; CHECK: donada
+define void @donada() nounwind {
+entry:
+ call void @llvm.donothing()
+ ret void
+}
OpenPOWER on IntegriCloud