-; RUN: opt %s -S -place-safepoints | FileCheck %s\r
-\r
-; Basic test to make sure that safepoints are placed\r
-; for CoreCLR GC\r
-\r
-declare void @foo()\r
-\r
-define void @test_simple_call() gc "coreclr" {\r
-; CHECK-LABEL: test_simple_call\r
-entry:\r
- br label %other\r
-other:\r
-; CHECK-LABEL: other\r
-; CHECK: statepoint\r
-; CHECK-NOT: gc.result\r
- call void @foo()\r
- ret void\r
-}\r
-\r
-; This function is inlined when inserting a poll. To avoid recursive\r
-; issues, make sure we don't place safepoints in it.\r
-declare void @do_safepoint()\r
-define void @gc.safepoint_poll() {\r
-; CHECK-LABEL: gc.safepoint_poll\r
-; CHECK-LABEL: entry\r
-; CHECK-NEXT: do_safepoint\r
-; CHECK-NEXT: ret void\r
-entry:\r
- call void @do_safepoint()\r
- ret void\r
-}\r
+; RUN: opt %s -S -place-safepoints | FileCheck %s
+
+; Basic test to make sure that safepoints are placed
+; for CoreCLR GC
+
+declare void @foo()
+
+define void @test_simple_call() gc "coreclr" {
+; CHECK-LABEL: test_simple_call
+entry:
+ br label %other
+other:
+; CHECK-LABEL: other
+; CHECK: statepoint
+; CHECK-NOT: gc.result
+ call void @foo()
+ ret void
+}
+
+; This function is inlined when inserting a poll. To avoid recursive
+; issues, make sure we don't place safepoints in it.
+declare void @do_safepoint()
+define void @gc.safepoint_poll() {
+; CHECK-LABEL: gc.safepoint_poll
+; CHECK-LABEL: entry
+; CHECK-NEXT: do_safepoint
+; CHECK-NEXT: ret void
+entry:
+ call void @do_safepoint()
+ ret void
+}