Don't compute optimized PointerKind for unoptimized builds
This saves us both the Freeze/Unpin queries, and avoids placing noalias attributes, which have a compile-time impact on LLVM even in optnone builds (due to always_inline functions).
This commit is contained in:
parent
39ed64399e
commit
6ac229ca21
4 changed files with 27 additions and 20 deletions
|
@ -1,4 +1,4 @@
|
|||
// compile-flags: -C no-prepopulate-passes
|
||||
// compile-flags: -O -C no-prepopulate-passes
|
||||
// ignore-tidy-linelength
|
||||
// min-system-llvm-version: 12.0
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue