Created
June 9, 2020 14:14
-
-
Save tru/2992c9bebf13e3e484b293bfccc72e30 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
define dso_local i32 @func(double %0) #0 !dbg !7 { | |
%2 = alloca float, align 4 | |
%3 = fptrunc double %0 to float | |
store float %3, float* %2, align 4 | |
call void @llvm.dbg.declare(metadata float* %2, metadata !13, metadata !DIExpression()), !dbg !14 | |
ret i32 0, !dbg !15 | |
} | |
declare void @llvm.dbg.declare(metadata, metadata, metadata) #1 | |
attributes #0 = { noinline nounwind optnone uwtable "correctly-rounded-divide-sqrt-fp-math"="false" "disable-tail-calls"="false" "frame-pointer"="all" "less-precise-fpmad"="false" "min-legal-vector-width"="0" "no-infs-fp-math"="false" "no-jump-tables"="false" "no-nans-fp-math"="false" "no-signed-zeros-fp-math"="false" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "unsafe-fp-math"="false" "use-soft-float"="false" } | |
attributes #1 = { nounwind readnone speculatable willreturn } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
define dso_local i32 @func(float %0) #0 !dbg !7 { | |
%2 = alloca float, align 4 | |
store float %0, float* %2, align 4 | |
call void @llvm.dbg.declare(metadata float* %2, metadata !13, metadata !DIExpression()), !dbg !14 | |
ret i32 0, !dbg !15 | |
} | |
declare void @llvm.dbg.declare(metadata, metadata, metadata) #1 | |
attributes #0 = { noinline nounwind optnone uwtable "correctly-rounded-divide-sqrt-fp-math"="false" "disable-tail-calls"="false" "frame-pointer"="all" "less-precise-fpmad"="false" "min-legal-vector-width"="0" "no-infs-fp-math"="false" "no-jump-tables"="false" "no-nans-fp-math"="false" "no-signed-zeros-fp-math"="false" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "unsafe-fp-math"="false" "use-soft-float"="false" } | |
attributes #1 = { nounwind readnone speculatable willreturn } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment