diff options
author | Anton Korobeynikov <asl@math.spbu.ru> | 2009-07-14 09:53:14 +0000 |
---|---|---|
committer | Anton Korobeynikov <asl@math.spbu.ru> | 2009-07-14 09:53:14 +0000 |
commit | 169362ff50b4b82e594b3cb73e1d981865a930d0 (patch) | |
tree | 54ff3a0ec217f9fdfb92d6eb5904f664c3472181 /lib/Target/MSIL/MSILWriter.h | |
parent | 7d93f90a16c34b92463661d274d98010c35dbd01 (diff) | |
download | external_llvm-169362ff50b4b82e594b3cb73e1d981865a930d0.tar.gz external_llvm-169362ff50b4b82e594b3cb73e1d981865a930d0.tar.bz2 external_llvm-169362ff50b4b82e594b3cb73e1d981865a930d0.zip |
Add extra sign extension to the same bit width before int sign
extension to another bit width. This is needed to get correct singed value.
Patch by Artur Pietrek!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75629 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/MSIL/MSILWriter.h')
-rw-r--r-- | lib/Target/MSIL/MSILWriter.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/MSIL/MSILWriter.h b/lib/Target/MSIL/MSILWriter.h index 2ef8a85d2b..ea0dfad0e4 100644 --- a/lib/Target/MSIL/MSILWriter.h +++ b/lib/Target/MSIL/MSILWriter.h @@ -187,7 +187,7 @@ namespace { void printIndirectSave(const Type* Ty); void printCastInstruction(unsigned int Op, const Value* V, - const Type* Ty); + const Type* Ty, const Type* SrcTy=0); void printGepInstruction(const Value* V, gep_type_iterator I, gep_type_iterator E); |