blob: addf813ccb994258598fc7494b3b1a81b80172d7 [file] [edit]
; RUN: llc -enable-new-pm -O2 -mtriple=wasm32-unknown-unknown -print-pipeline-passes=tree < %s -o /dev/null 2>&1 | FileCheck -check-prefix=O2 %s
; O2: require<MachineModuleAnalysis>
; O2-NEXT: require<profile-summary>
; O2-NEXT: require<collector-metadata>
; O2-NEXT: require<runtime-libcall-info>
; O2-NEXT: require<libcall-lowering-info>
; O2-NEXT: function
; O2-NEXT: objc-arc-contract
; O2-NEXT: pre-isel-intrinsic-lowering
; O2-NEXT: function
; O2-NEXT: expand-ir-insts<O2>
; O2-NEXT: wasm-add-missing-prototypes
; O2-NEXT: lower-global-dtors
; O2-NEXT: wasm-fix-function-bitcasts
; O2-NEXT: function
; O2-NEXT: wasm-optimize-returned
; O2-NEXT: wasm-lower-em-ehsjlj
; O2-NEXT: function
; O2-NEXT: indirectbr-expand
; O2-NEXT: wasm-reduce-to-any-all-true
; O2-NEXT: verify
; O2-NEXT: loop
; O2-NEXT: canon-freeze
; O2-NEXT: loop-reduce
; O2-NEXT: gc-lowering
; O2-NEXT: shadow-stack-gc-lowering
; O2-NEXT: function
; O2-NEXT: unreachableblockelim
; O2-NEXT: consthoist
; O2-NEXT: replace-with-veclib
; O2-NEXT: partially-inline-libcalls
; O2-NEXT: ee-instrument<post-inline>
; O2-NEXT: scalarize-masked-mem-intrin
; O2-NEXT: expand-reductions
; O2-NEXT: codegenprepare
; O2-NEXT: win-eh-prepare
; O2-NEXT: wasm-eh-prepare
; O2-NEXT: wasm-ref-type-mem2local
; O2-NEXT: wasm-coalesce-features-and-strip-atomics
; O2-NEXT: function
; O2-NEXT: atomic-expand
; O2-NEXT: inline-asm-prepare
; O2-NEXT: safe-stack
; O2-NEXT: stack-protector
; O2-NEXT: verify
; O2-NEXT: wasm-asm-printer-begin
; O2-NEXT: function
; O2-NEXT: machine-function
; O2-NEXT: wasm-isel
; O2-NEXT: wasm-argument-move
; O2-NEXT: wasm-set-p2align-operands
; O2-NEXT: wasm-fix-br-table-defaults
; O2-NEXT: wasm-clean-code-after-trap
; O2-NEXT: finalize-isel
; O2-NEXT: early-tailduplication
; O2-NEXT: opt-phis
; O2-NEXT: stack-coloring
; O2-NEXT: localstackalloc
; O2-NEXT: dead-mi-elimination
; O2-NEXT: early-machinelicm
; O2-NEXT: machine-cse
; O2-NEXT: machine-sink
; O2-NEXT: peephole-opt
; O2-NEXT: dead-mi-elimination
; O2-NEXT: detect-dead-lanes
; O2-NEXT: init-undef
; O2-NEXT: process-implicit-defs
; O2-NEXT: unreachable-mbb-elimination
; O2-NEXT: require<live-intervals>
; O2-NEXT: require<machine-loops>
; O2-NEXT: phi-node-elimination
; O2-NEXT: two-address-instruction
; O2-NEXT: register-coalescer
; O2-NEXT: rename-independent-subregs
; O2-NEXT: machine-scheduler
; O2-NEXT: remove-redundant-debug-values
; O2-NEXT: fixup-statepoint-caller-saved
; O2-NEXT: prolog-epilog
; O2-NEXT: branch-folder
; O2-NEXT: tailduplication
; O2-NEXT: post-ra-pseudos
; O2-NEXT: fentry-insert
; O2-NEXT: xray-instrumentation
; O2-NEXT: wasm-nullify-dbg-value-lists
; O2-NEXT: unreachable-mbb-elimination
; O2-NEXT: wasm-fix-irreducible-control-flow
; O2-NEXT: wasm-late-eh-prepare
; O2-NEXT: wasm-replace-phys-regs
; O2-NEXT: wasm-optimize-live-intervals
; O2-NEXT: wasm-mem-intrinsic-results
; O2-NEXT: wasm-reg-stackify
; O2-NEXT: wasm-reg-coloring
; O2-NEXT: wasm-cfg-sort
; O2-NEXT: wasm-cfg-stackify
; O2-NEXT: wasm-explicit-locals
; O2-NEXT: wasm-lower-br-unless
; O2-NEXT: wasm-peephole
; O2-NEXT: wasm-reg-numbering
; O2-NEXT: wasm-debug-fixup
; O2-NEXT: WebAssemblyMCLowerPrePass
; O2-NEXT: function
; O2-NEXT: machine-function
; O2-NEXT: live-debug-values
; O2-NEXT: machine-sanmd
; O2-NEXT: stack-frame-layout
; O2-NEXT: verify
; O2-NEXT: wasm-asm-printer
; O2-NEXT: free-machine-function
; O2-NEXT: wasm-asm-printer-end