Home | History | Annotate | Download | only in CPP
      1 ; RUN: llc -march=cpp -o - %s | FileCheck %s
      2 
      3 define void @f1(i32* %addr) {
      4   %x = getelementptr i32, i32* %addr, i32 1
      5 ; CHECK: ConstantInt* [[INT_1:.*]] = ConstantInt::get(mod->getContext(), APInt(32, StringRef("1"), 10));
      6 ; CHECK: GetElementPtrInst::Create(IntegerType::get(mod->getContext(), 32), ptr_addr,
      7 ; CHECK-NEXT:  [[INT_1]]
      8 ; CHECK-NEXT: }, "x", label_3);
      9   ret void
     10 }
     11