[all-commits] [llvm/llvm-project] 53fef0: [NFCI][SimplifyCFG] simplifyUnreachable(): Use poi...
Roman Lebedev via All-commits
all-commits at lists.llvm.org
Fri Jul 2 12:12:10 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 53fef0b2933a120b2ee876127c574002f8eb8c14
https://github.com/llvm/llvm-project/commit/53fef0b2933a120b2ee876127c574002f8eb8c14
Author: Roman Lebedev <lebedev.ri at gmail.com>
Date: 2021-07-02 (Fri, 02 Jul 2021)
Changed paths:
M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
Log Message:
-----------
[NFCI][SimplifyCFG] simplifyUnreachable(): Use poison constant to represent the result of unreachable instrs
Mimics similar change for InstCombine:
ce192ced2b901be67444c481ab5ca0d731e6d982 / D104602
All these uses are in blocks that aren't reachable from function's entry,
and said blocks are removed by SimplifyCFG itself,
so we can't really test this change.
More information about the All-commits
mailing list