llvm-6502/lib
Chandler Carruth 4e3a40293f Don't rely on the fact that shift values are never very large, and thus
this substraction will result in small negative numbers at worst which
become very large positive numbers on assignment and are thus caught by
the <=4 check on the next line. The >0 check clearly intended to catch
these as negative numbers.

Spotted by inspection, and impossible to trigger given the shift widths
that can be used.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147773 91177308-0d34-0410-b5e6-96231b3b80d8
2012-01-09 09:47:25 +00:00
..
Analysis Cleanup comments and argument types related to my previous replaceCongruentPhis checkin. 2012-01-07 01:29:21 +00:00
Archive Support/FileSystem: Add file_magic and move a vew clients over to it. 2011-12-13 23:17:12 +00:00
AsmParser Removes unused field TheError from LLLexer. 2011-12-21 10:02:45 +00:00
Bitcode Materialize functions whose basic blocks are used by global variables. Fixes 2012-01-02 07:49:53 +00:00
CodeGen Avoid eraseing copies from a reserved register unless the definition can be 2012-01-08 19:52:28 +00:00
DebugInfo Unweaken vtables as per http://llvm.org/docs/CodingStandards.html#ll_virtual_anch 2011-12-20 02:50:00 +00:00
ExecutionEngine Fix typo in string 2012-01-06 07:49:17 +00:00
Linker Link symbols with different visibilities according to the rules in the 2012-01-05 23:02:01 +00:00
MC Don't print an unused label before .cfi_endproc. 2012-01-09 00:17:29 +00:00
Object Remove unused variables. 2011-12-25 01:20:19 +00:00
Support revert r147542 after comments from Joerg Sonnenberger 2012-01-05 18:28:46 +00:00
TableGen TableGen: add a comment 2011-12-22 23:16:09 +00:00
Target Don't rely on the fact that shift values are never very large, and thus 2012-01-09 09:47:25 +00:00
Transforms Tweak my last commit to be less conservative about uses. 2012-01-08 21:12:51 +00:00
VMCore generalize LLVMContext::emitError to take a twine instead of a StringRef. 2012-01-03 23:47:05 +00:00
CMakeLists.txt Move TableGen's parser and entry point into a library 2011-10-01 16:41:13 +00:00
LLVMBuild.txt LLVMBuild: Introduce a common section which currently has a list of the 2011-12-12 22:45:54 +00:00
Makefile Remove more of llvmc and dependencies. 2011-09-20 00:34:27 +00:00