We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca4dfca commit fcc82cfCopy full SHA for fcc82cf
llvm/test/CodeGen/LoongArch/isel-optnone.ll
@@ -0,0 +1,13 @@
1
+; REQUIRES: asserts
2
+; RUN: llc %s -O0 -mtriple=loongarch64 -o /dev/null -debug-only=isel 2>&1 | FileCheck %s
3
+
4
+define void @fooOptnone() #0 {
5
+; CHECK: Changing optimization level for Function fooOptnone
6
+; CHECK: Before: -O2 ; After: -O0
7
8
+; CHECK: Restoring optimization level for Function fooOptnone
9
+; CHECK: Before: -O0 ; After: -O2
10
+ ret void
11
+}
12
13
+attributes #0 = { nounwind optnone noinline }
0 commit comments