llvm-ar: Clean up memory management with OwningPtr.
[oota-llvm.git] / test / Transforms / MergeFunc / inttoptr.ll
index 07f8a64a7db9329bb31a74f3b26966ed36e839c1..93250fa8ed1a798958c7924b75783594bda5ce33 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt -mtriple i386-pc-linux-gnu -mergefunc -S < %s | FileCheck %s
+; RUN: opt -mergefunc -S < %s | FileCheck %s
 ; PR15185
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32-n8:16:32-S128"
 target triple = "i386-pc-linux-gnu"
@@ -46,8 +46,8 @@ bb:
 
 define internal hidden i8* @func35(%.qux.2585* nocapture %this) align 2 {
 bb:
-; CHECK: %[[V2:[0-9]+]] = bitcast %.qux.2585* %{{.*}} to %.qux.2496*
-; CHECK: %[[V3:[0-9]+]] = tail call i32 @func10(%.qux.2496* %[[V2]])
+; CHECK: %[[V2:.+]] = bitcast %.qux.2585* %{{.*}} to %.qux.2496*
+; CHECK: %[[V3:.+]] = tail call i32 @func10(%.qux.2496* %[[V2]])
 ; CHECK: %{{.*}} = inttoptr i32 %[[V3]] to i8*
   %tmp = getelementptr inbounds %.qux.2585* %this, i32 0, i32 2
   %tmp1 = load i8** %tmp, align 4