summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2013-04-19 23:06:44 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2013-04-19 23:06:44 +0000
commit24a5f30f77fa2890329fa3a9165b54c13bbd51e7 (patch)
tree886d3726a2582c1155e46d10a219c16b79f47743 /test
parentdf0d1855ca88023bfcb81eb8812cdc718268ac4d (diff)
downloadllvm-24a5f30f77fa2890329fa3a9165b54c13bbd51e7.tar.gz
llvm-24a5f30f77fa2890329fa3a9165b54c13bbd51e7.tar.bz2
llvm-24a5f30f77fa2890329fa3a9165b54c13bbd51e7.tar.xz
MergeFunc: Make pointer and integer types generate the same hash.
The logic that actually compares the types considers pointers and integers the same if they are of the same size. This created a strange mismatch between hash and reality and made the test case for this fail on some platforms (yay, test cases). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179905 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/Transforms/MergeFunc/inttoptr.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Transforms/MergeFunc/inttoptr.ll b/test/Transforms/MergeFunc/inttoptr.ll
index 3568e5d489..93250fa8ed 100644
--- a/test/Transforms/MergeFunc/inttoptr.ll
+++ b/test/Transforms/MergeFunc/inttoptr.ll
@@ -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"