brintos

brintos / llvm-project-archived public Read only

0
0
Text · 493 B · 7a7980b Raw
12 lines · plain
1; RUN: llvm-as %s -o /dev/null2; RUN: verify-uselistorder %s3 4define ptr @t1(ptr %X) {5        %W = getelementptr { float, i32 }, ptr %X, i32 20, i32 1            ; <ptr> [#uses=0]6        %X.upgrd.1 = getelementptr { float, i32 }, ptr %X, i64 20, i32 1            ; <ptr> [#uses=0]7        %Y = getelementptr { float, i32 }, ptr %X, i64 20, i32 1            ; <ptr> [#uses=1]8        %Z = getelementptr { float, i32 }, ptr %X, i64 20, i32 1            ; <ptr> [#uses=0]9        ret ptr %Y10}11 12