Skip to content

Commit

Permalink
[sledge] Fix ~predicate label
Browse files Browse the repository at this point in the history
Reviewed By: jberdine

Differential Revision: D15603866

fbshipit-source-id: cfa5f771b
  • Loading branch information
kren1 authored and facebook-github-bot committed Jun 3, 2019
1 parent cdd444b commit c8b063f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sledge/src/llair/frontend.ml
Original file line number Diff line number Diff line change
Expand Up @@ -1324,7 +1324,7 @@ let transform ~gdce : Llvm.llmodule -> unit =
fun llmodule ->
let pm = Llvm.PassManager.create () in
if gdce then (
Llvm_ipo.add_internalize_predicate pm ~predicate:(fun fn ->
Llvm_ipo.add_internalize_predicate pm (fun fn ->
List.exists
["__llair_main"; "_Z12__llair_mainv"; "main"]
~f:(String.equal fn) ) ;
Expand Down

0 comments on commit c8b063f

Please sign in to comment.