diff options
author | Nicolai Haehnle <nhaehnle@gmail.com> | 2019-10-08 12:46:20 +0000 |
---|---|---|
committer | Nicolai Haehnle <nhaehnle@gmail.com> | 2019-10-08 12:46:20 +0000 |
commit | 7febdb7f27dfd3c5aab75ee07e1d36d30124fecc (patch) | |
tree | 22d794606b9f046b83e49791ae17232a4fd62824 /clang/lib/CodeGen | |
parent | 5cce533525d6d5174da796622a79bada6b48bba3 (diff) | |
download | bcm5719-llvm-7febdb7f27dfd3c5aab75ee07e1d36d30124fecc.tar.gz bcm5719-llvm-7febdb7f27dfd3c5aab75ee07e1d36d30124fecc.zip |
MachineSSAUpdater: insert IMPLICIT_DEF at top of basic block
Summary:
When getValueInMiddleOfBlock happens to be called for a basic block
that has no incoming value at all, an IMPLICIT_DEF is inserted in that
block via GetValueAtEndOfBlockInternal. This IMPLICIT_DEF must be at
the top of its basic block or it will likely not reach the use that
the caller intends to insert.
Issue: https://github.com/GPUOpen-Drivers/llpc/issues/204
Reviewers: arsenm, rampitec
Subscribers: jvesely, wdng, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D68183
llvm-svn: 374040
Diffstat (limited to 'clang/lib/CodeGen')
0 files changed, 0 insertions, 0 deletions