Add a priority queue class, which is a wrapper around std::priority_queue
[oota-llvm.git] / test / Transforms / InstCombine / getelementptr_index.ll
1 ; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep trunc
2
3 target datalayout = "e-p:32:32"
4
5 define i32* @test(i32* %X, i64 %Idx) {
6         %R = getelementptr i32* %X, i64 %Idx            ; <i32*> [#uses=1]
7         ret i32* %R
8 }
9