Add a test for improved inline assembly diagnostics in llvm.
Diff Detail
Diff Detail
- Build Status
Buildable 3920 Build 3920: arc lint + arc unit
Event Timeline
test/Misc/inline-asm-diags.c | ||
---|---|---|
2 | Use clang -cc1 -S -o /dev/null -verify to test this. |
Comment Actions
The point is that we typically do not want end to end tests (of which this is one) in clang if there's any way to avoid it. In this case we could test the same interfaces by adding support to llc for them (and it would arguably be useful in llc mode anyhow).
Comment Actions
Eric is correct. These tests would be more suitable in llc. The clang tests should check that the inline asm is inserted into the IR in the correct form if there's any difference pre and post patch (I don't think there is?).
Use clang -cc1 -S -o /dev/null -verify to test this.