CBE doesn't alloc correctly

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4474 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Nick Hildenbrandt 2002-10-31 18:23:09 +00:00
parent 59b2b86f35
commit baa2c40edb
3 changed files with 22 additions and 2 deletions

View File

@ -0,0 +1,10 @@
%BitField = type int
%tokenptr = type %BitField*
implementation
void %test() {
%pmf1 = alloca %tokenptr (%tokenptr, sbyte*)*
ret void
}

View File

@ -15,9 +15,9 @@ all:: $(addprefix Output/, $(TESTS:%.ll=%.to))
Output/%.to: Output/%.c
$(CC) -c -W -Wall $< -o $@ || \
$(CC) -c $< -o $@ #|| \
(rm -f $@; $(FAILURE) $@ )
Output/%.c: %.ll Output/.dir $(LAS) $(LDIS)
$(LAS) < $< | $(LDIS) -c > $@ || \
$(LAS) < $< | $(LDIS) -c > $@ #|| \
(rm -f $@; $(FAILURE) $@ )

View File

@ -0,0 +1,10 @@
%BitField = type int
%tokenptr = type %BitField*
implementation
void %test() {
%pmf1 = alloca %tokenptr (%tokenptr, sbyte*)*
ret void
}