mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-19 01:34:32 +00:00
8bc3434e68
options, to enable easier testing of the innards of LLVM that are enabled by such optimization strategies. Note that this doesn't provide the (much needed) function attribute support for -Oz (as opposed to -Os), but still seems like a positive step to better test the logic that Clang currently relies on. Patch by Patrik Hägglund. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156913 91177308-0d34-0410-b5e6-96231b3b80d8
9 lines
391 B
LLVM
9 lines
391 B
LLVM
;RUN: opt -S -O1 -debug-pass=Arguments |& FileCheck %s
|
|
;RUN: opt -S -O2 -debug-pass=Arguments |& FileCheck %s
|
|
;RUN: opt -S -Os -debug-pass=Arguments |& FileCheck %s
|
|
;RUN: opt -S -Oz -debug-pass=Arguments |& FileCheck %s
|
|
;RUN: opt -S -O3 -debug-pass=Arguments |& FileCheck %s
|
|
|
|
; Just check that we get a non-empty set of passes for each -O opton.
|
|
;CHECK: Pass Arguments: {{.*}} -print-module
|