llvm-project/llvm/test/tools/llvm-split/AMDGPU/declarations-debug.ll
Fraser Cormack 2e9f3f3b84
[AMDGPU][llvm-split] Fix another division by zero (#104421)
Somehow I missed this in #98888. It requires a log file, or the debug
flag to be passed.
2024-08-15 12:54:26 +01:00

13 lines
309 B
LLVM

; RUN: llvm-split -o %t %s -j 2 -mtriple amdgcn-amd-amdhsa --debug
; REQUIRES: asserts
; CHECK: --Partitioning Starts--
; CHECK: P0 has a total cost of 0 (0.00% of source module)
; CHECK: P1 has a total cost of 0 (0.00% of source module)
; CHECK: --Partitioning Done--
declare void @A()
declare void @B()