Skip to content

Commit a6adb63

Browse files
authored
[GVN][NFC] Remove triple from some tests (#129724)
These tests should not require triple.
1 parent 3e53aea commit a6adb63

File tree

4 files changed

+0
-4
lines changed

4 files changed

+0
-4
lines changed

llvm/test/Transforms/GVN/malloc-load-removal.ll

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
; PR13694
33

44
target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64-S128"
5-
target triple = "x86_64-apple-macosx10.8.0"
65

76
declare noalias ptr @malloc(i64) nounwind allockind("alloc,uninitialized") allocsize(0)
87

llvm/test/Transforms/GVN/non-integral-pointers.ll

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
; RUN: opt -passes=gvn -S < %s | FileCheck %s
33

44
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128-ni:4:5"
5-
target triple = "x86_64-unknown-linux-gnu"
65

76
define void @f0(i1 %alwaysFalse, i64 %val, ptr %loc) {
87
; CHECK-LABEL: @f0(

llvm/test/Transforms/GVN/nonescaping.ll

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
; RUN: opt < %s -S -passes=gvn 2>&1 | FileCheck %s
33

44
target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128"
5-
target triple = "x86_64-apple-darwin10.0"
65

76
declare noalias ptr @malloc(i64) nounwind allockind("alloc,uninitialized") allocsize(0) inaccessiblememonly
87
declare noalias ptr @calloc(i64, i64) allockind("alloc,zeroed") allocsize(0,1) inaccessiblememonly

llvm/test/Transforms/GVN/pr14166.ll

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
; RUN: opt -disable-basic-aa -passes=gvn -S < %s | FileCheck %s
22
target datalayout = "e-p:32:32:32"
3-
target triple = "i386-pc-linux-gnu"
43
define <2 x i32> @test1() {
54
%v1 = alloca <2 x i32>
65
call void @anything(ptr %v1)

0 commit comments

Comments
 (0)