CBE doesn't alloc correctly

llvm-svn: 4474
This commit is contained in:
Nick Hildenbrandt 2002-10-31 18:23:09 +00:00
parent dbf49d6266
commit a14ade019e
2 changed files with 12 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) $@ )