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 | dae36ba802f12966e4fc44d99097a55ff0b7d87b (patch) | |
tree | 75b676eb103d6d804ca77828f3822b7328356f2e /utils/TableGen/CodeGenDAGPatterns.cpp | |
parent | ecb830e45c216209f4a8b95d687f1ef4e9185bee (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141916 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/CodeGenDAGPatterns.cpp')
0 files changed, 0 insertions, 0 deletions