aboutsummaryrefslogtreecommitdiffstats
path: root/lib/hipe
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2018-01-22 14:18:14 +0100
committerGitHub <[email protected]>2018-01-22 14:18:14 +0100
commit7a37e39d45597a25ff532751c5131938b5286331 (patch)
tree98e05f8aa15718c3977b3126d90f09c2e8a746b4 /lib/hipe
parent8aa0a6aef5623ff226ea511b94b82e514dccc83b (diff)
parent970261b5384bd55abdcbf55bd4a75a3c26a0bda8 (diff)
downloadotp-7a37e39d45597a25ff532751c5131938b5286331.tar.gz
otp-7a37e39d45597a25ff532751c5131938b5286331.tar.bz2
otp-7a37e39d45597a25ff532751c5131938b5286331.zip
Merge pull request #1688 from margnus1/hipe-llvm-notail
ErLLVM: Preserve precise BEAM tailcall semantics OTP-14886
Diffstat (limited to 'lib/hipe')
-rw-r--r--lib/hipe/llvm/hipe_llvm.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hipe/llvm/hipe_llvm.erl b/lib/hipe/llvm/hipe_llvm.erl
index 641d3fda0a..e04b171194 100644
--- a/lib/hipe/llvm/hipe_llvm.erl
+++ b/lib/hipe/llvm/hipe_llvm.erl
@@ -934,7 +934,7 @@ pp_ins(Dev, Ver, I) ->
end,
case call_is_tail(I) of
true -> write(Dev, "tail ");
- false -> ok
+ false -> write(Dev, "notail ")
end,
write(Dev, ["call ", call_cconv(I), " "]),
pp_options(Dev, call_ret_attrs(I)),