projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add a missing SCEV simplification sext(zext x) --> zext x.
[oota-llvm.git]
/
test
/
Analysis
/
ScalarEvolution
/
fold.ll
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
}