summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
diff options
context:
space:
mode:
authorPetr Hosek <phosek@chromium.org>2019-08-17 00:07:26 +0000
committerPetr Hosek <phosek@chromium.org>2019-08-17 00:07:26 +0000
commit0b5ecef299fd7b430ddaace420cb2f10f1846873 (patch)
treecf808150fcd345f3609953aed3bedc8ce4d8c550 /llvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
parent43c8b19546ae646630898a7b0fe0a517633410de (diff)
downloadbcm5719-llvm-0b5ecef299fd7b430ddaace420cb2f10f1846873.tar.gz
bcm5719-llvm-0b5ecef299fd7b430ddaace420cb2f10f1846873.zip
[llvm-readobj] Unwrap the value first to avoid the error
This addresses the issue introduced in r369169, we need to unwrap the value first before we can check whether it's empty. This also swaps the two branches to put the common path first which should be NFC. llvm-svn: 369177
Diffstat (limited to 'llvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud