]> granicus.if.org Git - clang/commitdiff
Give the block inlining test a triple to determinise output
authorReid Kleckner <reid@kleckner.net>
Thu, 22 Jan 2015 01:19:19 +0000 (01:19 +0000)
committerReid Kleckner <reid@kleckner.net>
Thu, 22 Jan 2015 01:19:19 +0000 (01:19 +0000)
It fails on Windows due to another temporary being emitted first, so the
LLVM internal renaming scheme gives out the name
__block_descriptor_tmp1.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@226757 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/2009-01-05-BlockInlining.c

index 9153771f3a4cc239a1008c5b1549f928ce27b9de..61e5244bb68f8ac6ebbad45168900a0d3a8a6120 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 %s -emit-llvm -fblocks -o - | FileCheck %s
+// RUN: %clang_cc1 %s -triple x86_64-linux -emit-llvm -fblocks -o - | FileCheck %s
 // rdar://5865221
 
 // These will be inlined by the optimizers provided the block descriptors