bolt/deps/llvm-18.1.8/llvm/test/CodeGen/WebAssembly/regcoalesce-disable.ll
2025-02-14 19:21:04 +01:00

12 lines
347 B
LLVM

; RUN: llc < %s -O1 --debug-pass=Structure 2>&1 | FileCheck %s --check-prefix=O1
; RUN: llc < %s -O2 --debug-pass=Structure 2>&1 | FileCheck %s --check-prefix=O2
; Test if RegisterCoalesce pass is disabled in -O1.
; O1-NOT: Register Coalescer
; O2: Register Coalescer
target triple = "wasm32-unknown-unknown"
define void @test() {
ret void
}