| commit | 2056d15bd917bb025c16cf7517c2eecc3d1df392 | [log] [tgz] |
|---|---|---|
| author | Jakob Stoklund Olesen <stoklund@2pi.dk> | Fri Sep 23 22:10:33 2011 +0000 |
| committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | Fri Sep 23 22:10:33 2011 +0000 |
| tree | 95cd51c08707a2ac36762a78ecb1b6c3fcf8be88 | |
| parent | 27f58c2e66dc0c26d887f6552993a328201f0da0 [diff] |
Also match negative offsets for addrmode3 and addrmode5. Math is hard, and isScaledConstantInRange() always returned false for negative constants. It was doing unsigned division of negative numbers before casting back to signed. llvm-svn: 140425