llvm-project
[CIR] Diagnose missing/bad `cir.triple` and `cir.opt_info` attributes in CIR tests instead of asserts/crashes
#230003
Merged

[CIR] Diagnose missing/bad `cir.triple` and `cir.opt_info` attributes in CIR tests instead of asserts/crashes #230003

ianayl
ianayl issue diagnostics on bad cir.triple instead of asserts
3d967e6f
ianayl issue diagnostics on malformed opt_info attrs
7148a335
ianayl patch up reading triples for cpuid op lowering
9a939caf
ianayl switch to unified helper for triple processing
fd373da1
ianayl I don't think there were any tangible benefits to using mlir::Failure…
3c65330e
ianayl copy cir-opt additions from #229575
72963ed0
ianayl clang-format
362290cc
ianayl draft up test cases
15677e38
ianayl Merge branch 'main' into CIR/diagnose-bad-triple-optinfo
81879032
ianayl
ianayl commented on 2026-10-08
ianayl
ianayl commented on 2026-10-08
ianayl
ianayl commented on 2026-10-08
ianayl this test case is already covered in lowering-prepare-module-attrs.cir
aeaa75c8
ianayl update cir.cpuid op lowering diagnostics to provide more info
12140d97
ianayl ianayl changed the title [WIP][CIR] Diagnose missing/bad `cir.triple` and `cir.opt_info` attributes in CIR tests instead of asserts/crashes [CIR] Diagnose missing/bad `cir.triple` and `cir.opt_info` attributes in CIR tests instead of asserts/crashes 35 days ago
ianayl ianayl marked this pull request as ready for review 35 days ago
ianayl ianayl requested a review from bcardosolopes bcardosolopes 35 days ago
ianayl ianayl requested a review from xlauko xlauko 35 days ago
ianayl ianayl requested a review from andykaylor andykaylor 35 days ago
ianayl
Fznamznon Fznamznon requested a review from koparasy koparasy 34 days ago
koparasy
ianayl WIP: remove diagnostics from createLowerModule and move checking and …
9f08e15b
ianayl complete removing diags and moving validation to verifyOperationAttrs
7cac1228
ianayl Delete changes to EHABILowering; should be another PR
66d12d03
ianayl add tests for new CIR dialect verifier behavior
b273d9ff
ianayl add comment
58a6435d
ianayl delete a crap ton of test code; this feels good but I'll get rid of t…
6928e7ef
github-actions
ianayl clang-format
2ac4c32b
ianayl ianayl marked this pull request as draft 29 days ago
ianayl throw missing triple diagnosis again after removing diagnostics from …
eb0f96ee
ianayl Patch up errors related to current EH ABI Lowering behavior
f61b88bd
ianayl clang-format
5ea820d6
ianayl ianayl marked this pull request as ready for review 29 days ago
koparasy
koparasy commented on 2026-10-14
ianayl be more assertive
31f259f5
ianayl delete cir-to-llvm-module-attrs test
ceb71339
ianayl clang-format
2471db08
ianayl fix code style
d2d42229
ianayl perpetual clang-format
64004de6
andykaylor
andykaylor commented on 2026-10-15
ianayl Test looser triple validation
579062c9
ianayl enforce that module attrs should be attached to a module
3cf376dd
andykaylor
andykaylor commented on 2026-10-19
ianayl
ianayl Merge branch 'main' into CIR/diagnose-bad-triple-optinfo
7a58ffa5
ianayl Merge branch 'main' of https://github.com/llvm/llvm-project into CIR/…
ba248324
ianayl Merge branch 'main' of https://github.com/llvm/llvm-project into CIR/…
2d6224e3
ianayl ianayl requested a review from andykaylor andykaylor 21 days ago
koparasy
andykaylor
andykaylor approved these changes on 2026-11-04
koparasy
koparasy approved these changes on 2026-11-04
ianayl Merge branch 'main' of https://github.com/llvm/llvm-project into CIR/…
b4c420d5
ianayl Don't adjust targetInfo if targetInfo doesn't exist
0aacd5f5
ianayl
koparasy koparasy merged 1e68dccc into main 6 days ago

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone