llvmGen: Adapt to allow LLVM 15
We now must use -passes
in place of -O<n>
due to #21936 (closed).
Closes #21936 (closed). Closes #22220 (closed).
Merge request reports
Activity
requested review from @AndreasK
added backport needed:9.4 label
mentioned in merge request !9145 (closed)
While
-passes
is supported by LLVM 10, thedefault1
convention appears not to be supported by 10, 11, or 14. In fact, I'm beginning to wonder whether it's even supported at by 15.Also relevant: https://llvm.org/docs/NewPassManager.html.
Edited by Ben GamariFor the record, the best way I have found to dumping the passes run by
clang
is https://groups.google.com/g/llvm-dev/c/p7KYRoA8AHY?pli=1added 140 commits
-
baa77724...1ebd521f - 139 commits from branch
master
- bb6bb0f7 - llvmGen: Adapt to allow LLVM 15
-
baa77724...1ebd521f - 139 commits from branch
The problem here, as noted by @duog, is the
-tbaa
flag which is a pass.mentioned in merge request !9287 (closed)
added 332 commits
-
bb6bb0f7...3d55d8ab - 331 commits from branch
master
- 30694951 - llvmGen: Adapt to allow LLVM 15
-
bb6bb0f7...3d55d8ab - 331 commits from branch
mentioned in issue #12798
@bgamari @mpickering I understand this has been superseded by matts work?
mentioned in issue #22954 (closed)
removed review request for @AndreasK