diff options
| author | Eli Friedman <eli.friedman@gmail.com> | 2011-10-13 23:48:33 +0000 |
|---|---|---|
| committer | Eli Friedman <eli.friedman@gmail.com> | 2011-10-13 23:48:33 +0000 |
| commit | b46345d7c19d4586005133609a35134ad507e98b (patch) | |
| tree | f43572e842b9ab544082cbe2c99df29099a0c3af /llvm/lib/Support | |
| parent | df4f7ca331f04c7e6a4af3a144a05d3a82f8770d (diff) | |
| download | bcm5719-llvm-b46345d7c19d4586005133609a35134ad507e98b.tar.gz bcm5719-llvm-b46345d7c19d4586005133609a35134ad507e98b.zip | |
Avoid undefined behavior in negation in LSR. Patch by Ahmed Charles.
Someone more familiar with LSR should double-check that the extra cast is actually doing the right thing in the overflow cases; I'm not completely confident that's that case.
llvm-svn: 141916
Diffstat (limited to 'llvm/lib/Support')
0 files changed, 0 insertions, 0 deletions

