diff options
author | Hans Wennborg <hans@hanshq.net> | 2017-08-24 01:08:27 +0000 |
---|---|---|
committer | Hans Wennborg <hans@hanshq.net> | 2017-08-24 01:08:27 +0000 |
commit | c39ec95d886b2dd1977021cdf7a52dc43a76f8c8 (patch) | |
tree | 3679fdf5455d7ce35e5f9f9d67366eca47ef3f4d /llvm/lib/Object/WindowsResource.cpp | |
parent | c064881a361ce46687eec2695777f092d417496f (diff) | |
download | llvm-c39ec95d886b2dd1977021cdf7a52dc43a76f8c8.zip llvm-c39ec95d886b2dd1977021cdf7a52dc43a76f8c8.tar.gz llvm-c39ec95d886b2dd1977021cdf7a52dc43a76f8c8.tar.bz2 |
[DAG] Fix Node Replacement in PromoteIntBinOp
When one operand is a user of another in a promoted binary operation
we may replace and delete the returned value before returning
triggering an assertion. Reorder node replacements to prevent this.
Fixes PR34137.
Landing on behalf of Nirav.
Differential Revision: https://reviews.llvm.org/D36581
llvm-svn: 311623
Diffstat (limited to 'llvm/lib/Object/WindowsResource.cpp')
0 files changed, 0 insertions, 0 deletions