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 1599ddd commit 02089e2Copy full SHA for 02089e2
llvm/test/CodeGen/X86/tailcall-nofpclass.ll
@@ -1,10 +1,13 @@
1
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 5
2
; RUN: llc -mtriple=x86_64-linux < %s | FileCheck %s
3
4
-define dso_local noundef nofpclass(nan inf) float @_Z3foof(float noundef nofpclass(nan inf) %0) {
+; Ensures that taillcall optimization can still be
5
+; performed when nofpclass is used.
6
+
7
+define noundef nofpclass(nan inf) float @_Z3foof(float noundef nofpclass(nan inf) %0) {
8
; CHECK-LABEL: _Z3foof:
9
; CHECK: # %bb.0:
10
; CHECK-NEXT: jmp expf@PLT # TAILCALL
- %2 = tail call fast float @llvm.exp.f32(float %0)
11
+ %2 = tail call float @llvm.exp.f32(float %0)
12
ret float %2
13
}
0 commit comments