From c420bc8d3b87d71c38209b5ab8bca22875466362 Mon Sep 17 00:00:00 2001 From: David Monniaux Date: Wed, 25 Sep 2019 21:31:57 +0200 Subject: __builtin_expect defined as its first argument --- backend/Selection.v | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'backend/Selection.v') diff --git a/backend/Selection.v b/backend/Selection.v index 4ab3331e..7ba8fe92 100644 --- a/backend/Selection.v +++ b/backend/Selection.v @@ -243,7 +243,8 @@ Definition sel_builtin_res (optid: option ident) : builtin_res ident := Function sel_known_builtin (bf: builtin_function) (args: exprlist) := match bf, args with | BI_platform b, _ => - SelectOp.platform_builtin b args + SelectOp.platform_builtin b args + | BI_standard BI_expect, a1 ::: a2 ::: Enil => Some a1 | BI_standard (BI_select ty), a1 ::: a2 ::: a3 ::: Enil => Some (sel_select ty a1 a2 a3) | BI_standard BI_fabs, a1 ::: Enil => -- cgit