repo.or.cz
/
llvm.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Add a missing SCEV simplification sext(zext x) --> zext x.
[llvm.git]
/
test
/
Analysis
/
ScalarEvolution
/
fold.ll
blob
202ddd4169a7e74298eece16453ce1c27439b4eb
1
; RUN: opt -analyze -scalar-evolution %s -S | FileCheck %s
2
3
define i16 @test(i8 %x) {
4
%A = zext i8 %x to i12
5
%B = sext i12 %A to i16
6
; CHECK: zext i8 %x to i16
7
ret i16 %B
8
}