[PATCH] D95924: [Example][NFC} Add testcase for BrainF HelloWorld

Shivam Gupta via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 22 10:29:48 PST 2021


xgupta added a comment.

> I think the issue is that the symbols in the RUN line (`-` and `>`) are being executed as BF code.

I doubt it. because when I run test files separately they are passing. The issue occurs when I merge them in a single file.

> 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.

Could you please suggest RUN line by example, I tried some configurations, It doesn't work on my system.


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