aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/GlobalOpt
diff options
context:
space:
mode:
authorReid Spencer <reid@x10sys.com>2007-07-19 23:13:04 +0000
committerReid Spencer <reid@x10sys.com>2007-07-19 23:13:04 +0000
commitf234bed0dd88ef57e1e1884a3f807bba4fb68376 (patch)
tree1d769c299d5d5b0027b30ac5c301c6ff7613d28f /test/Transforms/GlobalOpt
parentddd33276097047345100dae74d033b5829782961 (diff)
downloadexternal_llvm-f234bed0dd88ef57e1e1884a3f807bba4fb68376.zip
external_llvm-f234bed0dd88ef57e1e1884a3f807bba4fb68376.tar.gz
external_llvm-f234bed0dd88ef57e1e1884a3f807bba4fb68376.tar.bz2
For PR1553:
Change the keywords for the zext and sext parameter attributes to be zeroext and signext so they don't conflict with the keywords for the instructions of the same name. This gets around the ambiguity. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40069 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/GlobalOpt')
-rw-r--r--test/Transforms/GlobalOpt/2007-04-05-Crash.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Transforms/GlobalOpt/2007-04-05-Crash.ll b/test/Transforms/GlobalOpt/2007-04-05-Crash.ll
index bf957b4..1991d90 100644
--- a/test/Transforms/GlobalOpt/2007-04-05-Crash.ll
+++ b/test/Transforms/GlobalOpt/2007-04-05-Crash.ll
@@ -6,7 +6,7 @@ target triple = "thumb-apple-darwin8"
@"L_OBJC_IMAGE_INFO" = internal global [2 x i32] zeroinitializer ; <[2 x i32]*> [#uses=1]
@llvm.used = appending global [1 x i8*] [ i8* bitcast ([2 x i32]* @"L_OBJC_IMAGE_INFO" to i8*) ] ; <[1 x i8*]*> [#uses=0]
-define i16 @__NSCharToUnicharCFWrapper(i8 zext %ch) zext {
+define i16 @__NSCharToUnicharCFWrapper(i8 zeroext %ch) zeroext {
entry:
%iftmp.0.0.in.in = select i1 false, i16* @replacementUnichar, i16* null ; <i16*> [#uses=1]
%iftmp.0.0.in = load i16* %iftmp.0.0.in.in ; <i16> [#uses=1]