[llvm] r217580 - [AArch64] Reenable the PBQP test now that the leak issue has been fixed.

Arnaud A. de Grandmaison arnaud.degrandmaison at arm.com
Thu Sep 11 03:39:52 PDT 2014


Author: aadg
Date: Thu Sep 11 05:39:52 2014
New Revision: 217580

URL: http://llvm.org/viewvc/llvm-project?rev=217580&view=rev
Log:
[AArch64] Reenable the PBQP test now that the leak issue has been fixed.

David Blaikie's commits r217563 & r217564, which added shared_ptr to the
CostPool have fixed some memory leak issues exposed by the PBQP with
coalescing constraints.

The sanitizer bot was failing because of those leaks. Now that the leaks
are gone, we can reenable the aarch64/pbqp test.

Added:
    llvm/trunk/test/CodeGen/AArch64/PBQP.ll

Added: llvm/trunk/test/CodeGen/AArch64/PBQP.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/AArch64/PBQP.ll?rev=217580&view=auto
==============================================================================
--- llvm/trunk/test/CodeGen/AArch64/PBQP.ll (added)
+++ llvm/trunk/test/CodeGen/AArch64/PBQP.ll Thu Sep 11 05:39:52 2014
@@ -0,0 +1,14 @@
+; RUN: llc -mtriple=aarch64-linux-gnu -mcpu=cortex-a57 -aarch64-pbqp -o - %s | FileCheck %s
+
+define i32 @foo(i32 %a) {
+; CHECK-LABEL: foo:
+; CHECK: bl bar
+; CHECK-NEXT: bl baz
+  %call = call i32 @bar(i32 %a)
+  %call1 = call i32 @baz(i32 %call)
+  ret i32 %call1
+}
+
+declare i32 @bar(i32)
+declare i32 @baz(i32)
+





More information about the llvm-commits mailing list