diff options
author | Duncan Sands <baldrick@free.fr> | 2009-10-13 21:04:12 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2009-10-13 21:04:12 +0000 |
commit | 3a66a68b0cc81193abfc074b1d360a4950151d38 (patch) | |
tree | ce5aaed17ab826e9245fcbe8bd389b21467b7063 /lib/Transforms/Scalar/LoopUnswitch.cpp | |
parent | b408b15fa423d4c3c1d4840ff6378af17f6f293b (diff) |
Introduce new convenience methods for sign extending or
truncating an SDValue (depending on whether the target
type is bigger or smaller than the value's type); or zero
extending or truncating it. Use it in a few places (this
seems to be a popular operation, but I only modified cases
of it in SelectionDAGBuild). In particular, the eh_selector
lowering was doing this wrong due to a repeated rather than
inverted test, fixed with this change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84027 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Scalar/LoopUnswitch.cpp')
0 files changed, 0 insertions, 0 deletions