Chris Lattner 4bdd2753db Fix a miscompilation of:
long long foo(long long X) {
  return (long long)(signed char)(int)X;
}

Instead of:

_foo:
        extsb r2, r4
        srawi r3, r4, 31
        mr r4, r2
        blr

we now produce:

_foo:
        extsb r4, r4
        srawi r3, r4, 31
        blr

This fixes a miscompilation in ConstantFolding.cpp.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30768 91177308-0d34-0410-b5e6-96231b3b80d8
2006-10-06 17:34:12 +00:00
..
2006-10-04 21:52:35 +00:00
2006-08-25 19:54:53 +00:00
2006-10-06 17:34:12 +00:00
2006-08-25 17:43:11 +00:00
2006-09-15 04:56:11 +00:00
2006-10-04 22:13:11 +00:00
2006-09-14 06:21:59 +00:00