summaryrefslogtreecommitdiffstats
path: root/test/CodeGenCXX/nrvo.cpp
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2014-05-06 01:09:50 +0000
committerNick Lewycky <nicholas@mxc.ca>2014-05-06 01:09:50 +0000
commit0d2d8fd82ae530360cac9a554ec8a0cf91be8381 (patch)
treea958a5e48cb2a5a36b1edfd6ab2f4d81ff9f17f4 /test/CodeGenCXX/nrvo.cpp
parent530c31a2db76ac7fc8bd0a5dcdf0b4377507a30d (diff)
I fixed this fixme in r208017.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@208027 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/nrvo.cpp')
-rw-r--r--test/CodeGenCXX/nrvo.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/CodeGenCXX/nrvo.cpp b/test/CodeGenCXX/nrvo.cpp
index ff4c598fd5..aa6b122761 100644
--- a/test/CodeGenCXX/nrvo.cpp
+++ b/test/CodeGenCXX/nrvo.cpp
@@ -118,8 +118,7 @@ X test2(bool B) {
// CHECK-LABEL: define void @_Z5test3b
X test3(bool B) {
- // FIXME: llvm should apply tail here.
- // CHECK: call {{.*}} @_ZN1XC1Ev
+ // CHECK: tail call {{.*}} @_ZN1XC1Ev
// CHECK-NOT: call {{.*}} @_ZN1XC1ERKS_
// CHECK: call {{.*}} @_ZN1XC1Ev
// CHECK: call {{.*}} @_ZN1XC1ERKS_