1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-31 07:52:55 +01:00
llvm-mirror/test/Regression/Transforms/InstCombine/2004-08-09-RemInfLoop.llx

9 lines
167 B
Plaintext
Raw Normal View History

2004-08-09 23:03:35 +02:00
; RUN: llvm-as < %s | opt -instcombine
; This testcase should not send the instcombiner into an infinite loop!
int %test(int %X) {
%Y = rem int %X, 0
ret int %Y
}