Move the static function, checking to see if a block is valid, to the CodeExtractor class a public utility. This lets you actually check to see if a block is valid before trying to extract.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D22699
Refactor - CodeExtractor : Move check for valid block to static utility and add assumption checks. ClosedPublic Authored by rriddle on Jul 22 2016, 2:00 PM.
Details Summary Move the static function, checking to see if a block is valid, to the CodeExtractor class a public utility. This lets you actually check to see if a block is valid before trying to extract.
Diff Detail Event TimelineClosed by commit rL276846: Refactor - CodeExtractor : Move check for valid block to static utility (authored by silvas). · Explain WhyJul 27 2016, 1:10 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 65371 /Users/rriddle/Desktop/llvm/llvm/include/llvm/Transforms/Utils/CodeExtractor.h
/Users/rriddle/Desktop/llvm/llvm/lib/Transforms/Utils/CodeExtractor.cpp
|