llvm-6502/test/Transforms/InstCombine/2004-08-09-RemInfLoop.llx
Chris Lattner efd0149de9 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15592 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-09 21:03:35 +00:00

9 lines
167 B
Plaintext

; 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
}