summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/tailcallpic2.ll
diff options
context:
space:
mode:
authorKostya Serebryany <kcc@google.com>2013-11-22 10:30:39 +0000
committerKostya Serebryany <kcc@google.com>2013-11-22 10:30:39 +0000
commita7e8d6581f93151291a8365a32cb9b55587764da (patch)
tree790fd446ca18f611d0cba7d3f4da41ced893484f /test/CodeGen/X86/tailcallpic2.ll
parentdd254ea7cbf6072f5eeac98fd6d671043b5ce3e6 (diff)
Revert r195318 as it causes miscompilation (PR18029)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@195439 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/tailcallpic2.ll')
-rw-r--r--test/CodeGen/X86/tailcallpic2.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/X86/tailcallpic2.ll b/test/CodeGen/X86/tailcallpic2.ll
index c35cee3a987..1b6bdb76986 100644
--- a/test/CodeGen/X86/tailcallpic2.ll
+++ b/test/CodeGen/X86/tailcallpic2.ll
@@ -9,7 +9,7 @@ define fastcc i32 @tailcaller(i32 %in1, i32 %in2) {
entry:
%tmp11 = tail call fastcc i32 @tailcallee( i32 %in1, i32 %in2, i32 %in1, i32 %in2 ) ; <i32> [#uses=1]
ret i32 %tmp11
-; Note that this call via PLT could be further optimized into a direct call (no GOT, no PLT):
-; CHECK: calll tailcallee@PLT
+; CHECK: movl tailcallee@GOT
+; CHECK: jmpl
}