diff options
author | Nadav Rotem <nrotem@apple.com> | 2012-11-14 19:39:15 +0000 |
---|---|---|
committer | Nadav Rotem <nrotem@apple.com> | 2012-11-14 19:39:15 +0000 |
commit | 9f567c62f21050fda95e3d9853500f90d41e2068 (patch) | |
tree | 37cff7859f4b5ae8f22bf1eb3e3eed10f8b01e38 /llvm/unittests/Support/MemoryTest.cpp | |
parent | 68540087370ee6bcac0fb17d22390437f649dd71 (diff) | |
download | bcm5719-llvm-9f567c62f21050fda95e3d9853500f90d41e2068.tar.gz bcm5719-llvm-9f567c62f21050fda95e3d9853500f90d41e2068.zip |
The code pattern "imm0_255_neg" is used for checking if an immediate value is a small negative number.
This patch changes the definition of negative from -0..-255 to -1..-255. I am changing this because of
a bug that we had in some of the patterns that assumed that "subs" of zero does not set the carry flag.
rdar://12028498
llvm-svn: 167963
Diffstat (limited to 'llvm/unittests/Support/MemoryTest.cpp')
0 files changed, 0 insertions, 0 deletions