This has been rather useful in our downstream CHERI target where we want
to run tests both with addrspace(0) and addrspace(200) pointers.
With this patch we can prefix the opt command with
sed -e 's/addrspace(200)/addrspace(0)/g' -e 's/-A200-P200-G200//g' to
test both cases using the same IR input.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Event Timeline
Comment Actions
LGTM. Maybe wait a bit if someone else wants to take a look.
Now we also need to execute RUN lines without FileCheck and we are almost there ;)
Comment Actions
Hi,
Doesn't look like this just handles --llc-binary command line argument of update_llc_test_checks.py correctly: I assume references to llc from within the preprocess_cmd should also be replaced with the value of --llc-binary if any, similarly to the substitution done for the main part of the command?
Thanks!
Comment Actions
Unless there are any
Yes that would be ideal (and shouldn't be too hard to implement), I just never had the need for that so far.