source: icGREP/icgrep-devel/llvm-3.8.0.src/test/Assembler/2004-04-04-GetElementPtrIndexTypes.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: 559 bytes
Line 
1; RUN: llvm-as %s -o /dev/null
2; RUN: verify-uselistorder %s
3
4define i32* @t1({ float, i32 }* %X) {
5        %W = getelementptr { float, i32 }, { float, i32 }* %X, i32 20, i32 1            ; <i32*> [#uses=0]
6        %X.upgrd.1 = getelementptr { float, i32 }, { float, i32 }* %X, i64 20, i32 1            ; <i32*> [#uses=0]
7        %Y = getelementptr { float, i32 }, { float, i32 }* %X, i64 20, i32 1            ; <i32*> [#uses=1]
8        %Z = getelementptr { float, i32 }, { float, i32 }* %X, i64 20, i32 1            ; <i32*> [#uses=0]
9        ret i32* %Y
10}
11
Note: See TracBrowser for help on using the repository browser.