bolt/deps/llvm-18.1.8/llvm/test/Transforms/InstCombine/2004-12-08-RemInfiniteLoop.ll

8 lines
152 B
LLVM
Raw Normal View History

2025-02-14 19:21:04 +01:00
; RUN: opt < %s -passes=instcombine
define i32 @test(i32 %X, i32 %Z) {
%Y = srem i32 %X, undef ; <i32> [#uses=1]
ret i32 %Y
}