[PATCH] D95924: [Example][NFC} Add testcase for BrainF HelloWorld
Tim Northover via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 22 02:24:04 PST 2021
t.p.northover added a comment.
> Please tell me what I am missing now?
I think the issue is that the symbols in the RUN line (`-` and `>`) are being executed as BF code. Looking at Wikipedia, surrounding the RUN lines with a loop [] makes them a nop (since the tape starts at 0). That recovers the "Hello World!" but does still perturb -O0 codegen of course. Which is probably OK.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D95924/new/
https://reviews.llvm.org/D95924
More information about the llvm-commits
mailing list