diff options
author | Chris Lattner <sabre@nondot.org> | 2009-11-10 07:23:37 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-11-10 07:23:37 +0000 |
commit | c22d4d1500cfbcf89d6dfc14ce4c2d0084c06096 (patch) | |
tree | 5cc877e8717d2f762cafe6dba322b29aa6d20b24 /test/Transforms/InstCombine/cast.ll | |
parent | 7cef1781761cff766320e3e904542ad02466d735 (diff) | |
download | llvm-c22d4d1500cfbcf89d6dfc14ce4c2d0084c06096.tar.gz llvm-c22d4d1500cfbcf89d6dfc14ce4c2d0084c06096.tar.bz2 llvm-c22d4d1500cfbcf89d6dfc14ce4c2d0084c06096.tar.xz |
unify the code that determines whether it is a good idea to change the type
of a computation. This fixes some infinite loops when dealing with TD that
has no native types.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86670 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/InstCombine/cast.ll')
-rw-r--r-- | test/Transforms/InstCombine/cast.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Transforms/InstCombine/cast.ll b/test/Transforms/InstCombine/cast.ll index 79f86e9ed3..e7695b74b7 100644 --- a/test/Transforms/InstCombine/cast.ll +++ b/test/Transforms/InstCombine/cast.ll @@ -1,6 +1,6 @@ ; Tests to make sure elimination of casts is working correctly ; RUN: opt < %s -instcombine -S | FileCheck %s -target datalayout = "E-p:64:64:64-a0:0:8-f32:32:32-f64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-v64:64:64-v128:128:128" +target datalayout = "E-p:64:64:64-a0:0:8-f32:32:32-f64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-v64:64:64-v128:128:128-n8:16:32:64" @inbuf = external global [32832 x i8] ; <[32832 x i8]*> [#uses=1] |