summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--clang/test/CodeGenCXX/nrvo.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/test/CodeGenCXX/nrvo.cpp b/clang/test/CodeGenCXX/nrvo.cpp
index ff4c598fd52..aa6b122761d 100644
--- a/clang/test/CodeGenCXX/nrvo.cpp
+++ b/clang/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_
OpenPOWER on IntegriCloud