aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Support/ErrorTest.cpp
diff options
context:
space:
mode:
authorAndrew Litteken <andrew_litteken@apple.com>2021-08-23 12:02:30 -0700
committerAndrew Litteken <andrew.litteken@gmail.com>2021-09-08 15:15:15 -0700
commit144cd22baef2d068f077e514de1b4f0d8b0973cf (patch)
treec016e285f9ee92280494987a5a653e505d7f56a0 /llvm/unittests/Support/ErrorTest.cpp
parent7ff67d5bf8d049b368625b6fe06c50aedc222939 (diff)
downloadllvm-144cd22baef2d068f077e514de1b4f0d8b0973cf.zip
llvm-144cd22baef2d068f077e514de1b4f0d8b0973cf.tar.gz
llvm-144cd22baef2d068f077e514de1b4f0d8b0973cf.tar.bz2
[CodeExtractor] Creating exit stubs based off original order branch instructions.
Previously the CodeExtractor created exit stubs, and the subsequent return value of the outlined function based on the order of out-of-region blocks after splitting any phi nodes, and collecting the blocks to be outlined. This could cause differences in order if there was a difference of exit block phi nodes between the two regions. This patch moves the collection of the output target blocks to be before this occurs, so that the assignment of target block to output value will be the same, regardless of the contents of the output block. Reviewers: paquette, roelofs Differential Revision: https://reviews.llvm.org/D108657
Diffstat (limited to 'llvm/unittests/Support/ErrorTest.cpp')
0 files changed, 0 insertions, 0 deletions