diff options
author | Johannes Doerfert <johannes@jdoerfert.de> | 2023-02-16 17:40:47 -0800 |
---|---|---|
committer | Johannes Doerfert <johannes@jdoerfert.de> | 2023-02-16 17:45:56 -0800 |
commit | 7495a2e51bff6303fdb8f6113510012028e2d9bb (patch) | |
tree | 220806cbc64759eea2d2d7d68c3653104c3d99bd /llvm/lib/CodeGen/CodeGen.cpp | |
parent | 58bedaed0fea43fbf14bdb5f1da500528ca6dc80 (diff) | |
download | llvm-7495a2e51bff6303fdb8f6113510012028e2d9bb.zip llvm-7495a2e51bff6303fdb8f6113510012028e2d9bb.tar.gz llvm-7495a2e51bff6303fdb8f6113510012028e2d9bb.tar.bz2 |
[Attributor][FIX] Ensure we adjust types properly
When we simplify loads we need to adjust types (esp. null-values)
properly to avoid inconsinstencies down the line. Add a cast and an
error message.
Fixes: https://github.com/llvm/llvm-project/issues/60788
Diffstat (limited to 'llvm/lib/CodeGen/CodeGen.cpp')
0 files changed, 0 insertions, 0 deletions