diff options
| author | Krzysztof Parzyszek <kparzysz@codeaurora.org> | 2016-08-19 22:57:23 +0000 |
|---|---|---|
| committer | Krzysztof Parzyszek <kparzysz@codeaurora.org> | 2016-08-19 22:57:23 +0000 |
| commit | d95d100c285f7a0eb54845b1c4eedcde8aa95705 (patch) | |
| tree | 2b57dec4c8f20b6f0418fef91204c73919f194c0 | |
| parent | 2ce3d94a01f89c8457194f5e05633983d472197e (diff) | |
| download | bcm5719-llvm-d95d100c285f7a0eb54845b1c4eedcde8aa95705.tar.gz bcm5719-llvm-d95d100c285f7a0eb54845b1c4eedcde8aa95705.zip | |
Reset "undef" flag when coalescing subregister into whole register
llvm-svn: 279344
| -rw-r--r-- | llvm/lib/CodeGen/RegisterCoalescer.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/RegisterCoalescer.cpp b/llvm/lib/CodeGen/RegisterCoalescer.cpp index 2d9a61be853..bf7aaccf1a9 100644 --- a/llvm/lib/CodeGen/RegisterCoalescer.cpp +++ b/llvm/lib/CodeGen/RegisterCoalescer.cpp @@ -975,6 +975,7 @@ bool RegisterCoalescer::reMaterializeTrivialDef(const CoalescerPair &CP, NewRC = CommonRC; DstIdx = 0; DefMO.setSubReg(0); + DefMO.setIsUndef(false); // Only subregs can have def+undef. } } } |

