search for: __discard_rest_of_old_body

Displaying 1 result from an estimated 1 matches for "__discard_rest_of_old_body".

2016 Oct 26
0
How does one reduce a function CFG to its entry block?
...tc.    This does have the desired effect, but since I have no prior experience modifying LLVM, I am not sure if this is safe/legitimate or if my approach is flawed.  [ I am also able to achieve this by  substituting the original terminator to the entry block by a:   br i1 true, label %__RELEVANT, %__DISCARD_REST_OF_OLD_BODY    and have the code-gen prepare step eliminate the (made) unreachable rest of the old body   so that only the original entry block with an unconditional branch to other relevant code that   I add, remains; as intended. However, I want to not rely on the change happening further   downstream; I...