diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2020-01-14 14:09:06 -0500 |
---|---|---|
committer | Matt Arsenault <arsenm2@gmail.com> | 2020-01-15 08:58:57 -0500 |
commit | eafa8dbefe30c85e58efc5309793f2d7c2109e35 (patch) | |
tree | 86466e57cfd79bda868ac297aa4a8ad6af576dee /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | 3ab7b7f53552a0969bd89db3317eb5a3ddf31d8f (diff) | |
download | llvm-eafa8dbefe30c85e58efc5309793f2d7c2109e35.zip llvm-eafa8dbefe30c85e58efc5309793f2d7c2109e35.tar.gz llvm-eafa8dbefe30c85e58efc5309793f2d7c2109e35.tar.bz2 |
TableGen/GlobalISel: Don't take reference to temporary values
These return temporary Optional<> values which are immediately
destroyed. I'm not sure why no sanitizers seem to have caught this,
but I encountered crashes on these in a future patch.
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions