Skip to content
Commit 9ab06622 authored by Amir Ayupov's avatar Amir Ayupov Committed by Maksim Panchenko
Browse files

[BOLT] TailDuplication: skip non-simple functions

Summary:
Replace erroneous check for function eligibility from `Function.isIgnored()`
to `shouldOptimize(Function)`. This prevents non-simple functions from being
processed.

(cherry picked from FBD32301958)
parent 933df2a4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment