aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/MachOObjectFile.cpp
diff options
context:
space:
mode:
authorFangrui Song <i@maskray.me>2021-12-15 15:43:35 -0800
committerFangrui Song <i@maskray.me>2021-12-15 15:43:35 -0800
commitcf9e61a9bb61605e3c78f5d10ae8a3bcb6d8865a (patch)
tree6b176c01fe1ee36dc43213f3da753e1ab11a5da9 /llvm/lib/Object/MachOObjectFile.cpp
parent65146382b379037f560b30ab661e28d6e00be948 (diff)
downloadllvm-cf9e61a9bb61605e3c78f5d10ae8a3bcb6d8865a.zip
llvm-cf9e61a9bb61605e3c78f5d10ae8a3bcb6d8865a.tar.gz
llvm-cf9e61a9bb61605e3c78f5d10ae8a3bcb6d8865a.tar.bz2
[LTO][WPD] Simplify mustBeUnreachableFunction and test after D115492
An well-formed IR function definition must have an entry basic block and a well-formed IR basic block must have one terminator so the emptiness check can be simplified. Also simplify the test a bit. Reviewed By: luna Differential Revision: https://reviews.llvm.org/D115780
Diffstat (limited to 'llvm/lib/Object/MachOObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions