repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Re-land [openmp] Fix warnings when building on Windows with latest MSVC or Clang...
[llvm-project.git]
/
llvm
/
test
/
Transforms
/
InstCombine
/
2008-02-13-MulURem.ll
blob
5bc01f220b9c74888315d0ae8a50db303c52a9b2
1
; RUN: opt < %s -passes=instcombine -S | FileCheck %s
2
; PR1933
3
4
; CHECK: rem
5
6
define i32 @fold(i32 %a) {
7
%s = mul i32 %a, 3
8
%c = urem i32 %s, 3
9
ret i32 %c
10
}