r226757 - Give the block inlining test a triple to determinise output

Reid Kleckner reid at kleckner.net
Wed Jan 21 17:19:19 PST 2015


Author: rnk
Date: Wed Jan 21 19:19:19 2015
New Revision: 226757

URL: http://llvm.org/viewvc/llvm-project?rev=226757&view=rev
Log:
Give the block inlining test a triple to determinise output

It fails on Windows due to another temporary being emitted first, so the
LLVM internal renaming scheme gives out the name
__block_descriptor_tmp1.

Modified:
    cfe/trunk/test/CodeGen/2009-01-05-BlockInlining.c

Modified: cfe/trunk/test/CodeGen/2009-01-05-BlockInlining.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/2009-01-05-BlockInlining.c?rev=226757&r1=226756&r2=226757&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/2009-01-05-BlockInlining.c (original)
+++ cfe/trunk/test/CodeGen/2009-01-05-BlockInlining.c Wed Jan 21 19:19:19 2015
@@ -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





More information about the cfe-commits mailing list