diff options
author | Johannes Doerfert <johannes@jdoerfert.de> | 2021-06-24 12:04:46 -0500 |
---|---|---|
committer | Johannes Doerfert <johannes@jdoerfert.de> | 2021-06-29 09:38:13 -0500 |
commit | a33e12801279a947c74fdee2655b24480941fb39 (patch) | |
tree | ca3803d82549e2e43885ebefd9a1cb7a65464f4c /llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp | |
parent | 3dae01911b6902f00e80eb7ebdc2f55bb28f173e (diff) | |
download | llvm-a33e12801279a947c74fdee2655b24480941fb39.zip llvm-a33e12801279a947c74fdee2655b24480941fb39.tar.gz llvm-a33e12801279a947c74fdee2655b24480941fb39.tar.bz2 |
[InstCombine] Gracefully handle an alloca outside the alloca-AS
While we might eventually want to disallow allocas that do not have the
alloca-AS set, it seems undesirable to crash on them. Add a cast when
required so that we can support such allocas (at least here).
Differential Revision: https://reviews.llvm.org/D104866
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp')
0 files changed, 0 insertions, 0 deletions