diff options
author | Fiona Glaser <escha@apple.com> | 2015-05-29 23:37:22 +0000 |
---|---|---|
committer | Fiona Glaser <escha@apple.com> | 2015-05-29 23:37:22 +0000 |
commit | b82e33106bdfcace762c441f628f1125ae6a0957 (patch) | |
tree | 0972910ae0729478e0b0d0f44047701a23f0bfd6 /llvm/lib/MC/MCObjectStreamer.cpp | |
parent | 5ae9b64a091e43ead45b59a72622365a3e70363a (diff) | |
download | bcm5719-llvm-b82e33106bdfcace762c441f628f1125ae6a0957.tar.gz bcm5719-llvm-b82e33106bdfcace762c441f628f1125ae6a0957.zip |
SelectionDAG: fix logic for promoting shift types
r238503 fixed the problem of too-small shift types by promoting them
during legalization, but the correct solution is to promote only the
operands that actually demand promotion.
This fixes a crash on an out-of-tree target caused by trying to
promote an operand that can't be promoted.
llvm-svn: 238632
Diffstat (limited to 'llvm/lib/MC/MCObjectStreamer.cpp')
0 files changed, 0 insertions, 0 deletions