Add support for broadcast(), rotate(), and shuffle() stdlib routines

This commit is contained in:
Matt Pharr
2011-06-27 17:31:44 -07:00
parent 36063bae79
commit 2709c354d7
15 changed files with 329 additions and 55 deletions

View File

@@ -94,9 +94,7 @@ objs/lex.o: objs/lex.cpp $(HEADERS) objs/parse.cc
@echo Compiling $<
@$(CXX) $(CXXFLAGS) -o $@ -c $<
$(STDLIB_SRC): stdlib.m4
objs/stdlib-%.cpp: stdlib-%.ll
objs/stdlib-%.cpp: stdlib-%.ll stdlib.m4
@echo Creating C++ source from stdlib file $<
@m4 stdlib.m4 $< | ./bitcode2cpp.py $< > $@