Wilfred / Brainfrack

BF implementations in different languages
30 stars 2 forks source link

Does not work on current versions of LLVM #1

Open mattreecebentley opened 6 years ago

mattreecebentley commented 6 years ago

lli: bf.ll:13:32: error: expected comma after load's type %cell_index = load i32* %cell_index_ptr

Wilfred commented 6 years ago

Um, there isn't an LLVM implementation in this repository, unless I'm missing something obvious?

mattreecebentley commented 6 years ago

I was referencing https://github.com/Wilfred/Brainfrack/blob/0252dc84791f5461dc8da5a67b755bd48b7cc0b4/llvm/decrement_data_pointer.ll

As referenced in your blog post (amongst other samples of code also in this repo): http://www.wilfred.me.uk/blog/2015/02/21/my-first-llvm-compiler/