[all-commits] [llvm/llvm-project] 80e042: [Mem2Reg] Use poison for unreachable cases
Nikita Popov via All-commits
all-commits at lists.llvm.org
Mon Jun 21 01:54:37 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 80e0424b2ce9489bec73dbd3b920c4543a25feb1
https://github.com/llvm/llvm-project/commit/80e0424b2ce9489bec73dbd3b920c4543a25feb1
Author: Nikita Popov <nikita.ppv at gmail.com>
Date: 2021-06-21 (Mon, 21 Jun 2021)
Changed paths:
M llvm/lib/Transforms/Utils/PromoteMemoryToRegister.cpp
M llvm/test/Transforms/Mem2Reg/pr37632-unreachable-list-of-stores.ll
Log Message:
-----------
[Mem2Reg] Use poison for unreachable cases
Use poison instead of undef for cases dealing with unreachable
code. This still leaves the more interesting case of "load from
uninitialized memory" as undef.
More information about the All-commits
mailing list