HomePhabricator

[ORC] fix use-after-move. NFC

Authored by nickdesaulniers on May 20 2019, 3:17 PM.

Description

[ORC] fix use-after-move. NFC

Summary:
scan-build flagged a potential use-after-move in debug builds. It's not
safe that a moved from value contains anything but garbage. Manually
DRY up these repeated expressions.

Reviewers: lhames

Reviewed By: lhames

Subscribers: hiraditya, llvm-commits, srhines

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D62112

llvm-svn: 361203

Details

Committed
nickdesaulniersMay 20 2019, 3:17 PM
Reviewer
lhames
Differential Revision
D62112: [ORC] fix use-after-move. NFC
Parents
rG6dd08e335ffc: AMDGPU: Force skip branches over calls
Branches
Unknown
Tags
Unknown