brintos

brintos / llvm-project-archived public Read only

0
0
Text · 555 B · af9e5eb Raw
23 lines · plain
1; REQUIRES: asserts2; RUN: llc < %s -O0 -mtriple=riscv64 -debug-only=isel 2>&1 | FileCheck %s3 4define ptr @fooOptnone(ptr %p, ptr %q, ptr %z) #0 {5; CHECK-NOT: Changing optimization level for Function fooOptnone6; CHECK-NOT: Restoring optimization level for Function fooOptnone7 8entry:9  %r = load i32, ptr %p10  %s = load i32, ptr %q11  %y = load ptr, ptr %z12 13  %t0 = add i32 %r, %s14  %t1 = add i32 %t0, 115  %t2 = getelementptr i32, ptr %y, i32 116  %t3 = getelementptr i32, ptr %t2, i32 %t117 18  ret ptr %t319 20}21 22attributes #0 = { nounwind optnone noinline }23