diff options
author | Philip Reames <preames@rivosinc.com> | 2022-06-07 13:09:48 -0700 |
---|---|---|
committer | Philip Reames <listmail@philipreames.com> | 2022-06-07 13:21:31 -0700 |
commit | 8a0cd23326050a7b999efa2cf455880772ce9211 (patch) | |
tree | 522d49725e0e3105323963b3bcbbef521eb9e45a /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | 9f29916169fab99bc26378a56bbcc80e88a9d678 (diff) | |
download | llvm-8a0cd23326050a7b999efa2cf455880772ce9211.zip llvm-8a0cd23326050a7b999efa2cf455880772ce9211.tar.gz llvm-8a0cd23326050a7b999efa2cf455880772ce9211.tar.bz2 |
Revert "[MemDep][NFCI] Remove redundant dyn_cast, replace with cast"
This reverts commit 180d3f251d1ad5473705d3f00e6d426b5f8162e6. This commit is simply wrong. IsLoad is set within the same file based on modref state, not whether the instruction is a LoadInst.
This went uncaught because cast<Ty>(X) has been broken. See https://discourse.llvm.org/t/cast-x-is-broken-implications-and-proposal-to-address/63033 for context.
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions