bolt/deps/llvm-18.1.8/llvm/test/Transforms/InstCombine/2004-12-08-RemInfiniteLoop.ll
2025-02-14 19:21:04 +01:00

7 lines
152 B
LLVM

; RUN: opt < %s -passes=instcombine
define i32 @test(i32 %X, i32 %Z) {
%Y = srem i32 %X, undef ; <i32> [#uses=1]
ret i32 %Y
}