diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2007-01-03 04:25:33 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2007-01-03 04:25:33 +0000 |
commit | 8c57dfb1aea24132bd5b58c4ed4893ea967ba131 (patch) | |
tree | 34f33605da11170aa49e4b563a8735d639593919 /lib/CodeGen/DwarfWriter.cpp | |
parent | b47b25cfda5aee910e128c89d08c630722eb480b (diff) |
Two changes:
1. Switch expression and cases are compared signed and are sign extended.
2. For function results needing extended, do SIGN_EXTEND if the SExtAttribute
is set and ZERO_EXTEND if the ZExtAttribute is set, otherwise just let
the Legalizer do ANY_EXTEND.
This fixes the recent regression in kimwitu++ and probably the llvm-gcc
bootstrap issue we had today.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32830 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/DwarfWriter.cpp')
0 files changed, 0 insertions, 0 deletions