mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-21 18:22:53 +01:00
[AnnotationRemarks] Also generate annotation remarks when using -O0.
The AnnotationRemarks pass is already run at the end of the module pipeline. This patch also adds it before bailing out for -O0, so remarks are also generated with -O0.
This commit is contained in:
parent
c2546bc894
commit
43edfa5357
@ -569,6 +569,8 @@ void PassManagerBuilder::populateModulePassManager(
|
||||
// new unnamed globals.
|
||||
MPM.add(createNameAnonGlobalPass());
|
||||
}
|
||||
|
||||
MPM.add(createAnnotationRemarksLegacyPass());
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -25,6 +25,7 @@
|
||||
; CHECK-NEXT: Inliner for always_inline functions
|
||||
; A No-Op Barrier Pass
|
||||
; CHECK: FunctionPass Manager
|
||||
; CHECK-NEXT: Annotation Remarks
|
||||
; CHECK-NEXT: Module Verifier
|
||||
; CHECK-NEXT: Bitcode Writer
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user