source: icGREP/icgrep-devel/llvm-3.8.0.src/test/CodeGen/Generic/2005-12-12-ExpandSextInreg.ll @ 5027

Last change on this file since 5027 was 5027, checked in by cameron, 3 years ago

Upgrade to llvm 3.8

File size: 180 bytes
Line 
1; RUN: llc < %s
2
3define i64 @test(i64 %A) {
4        %B = trunc i64 %A to i8         ; <i8> [#uses=1]
5        %C = sext i8 %B to i64          ; <i64> [#uses=1]
6        ret i64 %C
7}
Note: See TracBrowser for help on using the repository browser.