summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/Support/MemoryTest.cpp
diff options
context:
space:
mode:
authorNadav Rotem <nrotem@apple.com>2012-11-14 19:39:15 +0000
committerNadav Rotem <nrotem@apple.com>2012-11-14 19:39:15 +0000
commit9f567c62f21050fda95e3d9853500f90d41e2068 (patch)
tree37cff7859f4b5ae8f22bf1eb3e3eed10f8b01e38 /llvm/unittests/Support/MemoryTest.cpp
parent68540087370ee6bcac0fb17d22390437f649dd71 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud