llvm-6502/lib
Jingyue Wu 71fe4f0197 [SeparateConstOffsetFromGEP] Fixed a bug related to unsigned modulo
The dividend in "signed % unsigned" is treated as unsigned instead of signed,
causing unexpected behavior such as -64 % (uint64_t)24 == 0.

Added a regression test in split-gep.ll

Patched by Hao Liu.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@220618 91177308-0d34-0410-b5e6-96231b3b80d8
2014-10-25 18:34:03 +00:00
..
Analysis Clean up assume intrinsic pattern matching, no need to check that the argument is a value. 2014-10-25 18:09:01 +00:00
AsmParser Make CallingConv::ID an alias of "unsigned". 2014-09-10 18:00:17 +00:00
Bitcode Modernize the error handling of the Materialize function. 2014-10-24 22:50:48 +00:00
CodeGen Sink DwarfUnit::constructImportedEntityDIE into DwarfCompileUnit. 2014-10-24 21:31:09 +00:00
DebugInfo [dwarfdump] Dump DW_AT_ranges values inline in the debug_info dump. 2014-10-23 04:08:34 +00:00
ExecutionEngine [MCJIT] Make repeat calls to MCJIT::getPointerToFunction for declarations safe. 2014-10-22 23:18:42 +00:00
IR Modernize the error handling of the Materialize function. 2014-10-24 22:50:48 +00:00
IRReader Pass a && to getLazyBitcodeModule. 2014-09-03 17:31:46 +00:00
LineEditor
Linker Allow the C API users to keep relying on the OutMessages parameter. 2014-10-25 04:31:08 +00:00
LTO Update the error handling of lib/Linker. 2014-10-25 04:06:10 +00:00
MC Attempt to fix the build after r220439 2014-10-22 22:46:05 +00:00
Object Don't ever call materializeAllPermanently during LTO. 2014-10-24 18:13:04 +00:00
Option Add an overload of getLastArgNoClaim taking two OptSpecifiers. 2014-09-12 19:42:53 +00:00
ProfileData Reduce double set lookups. NFC. 2014-10-10 15:32:50 +00:00
Support Modernize doxygen comments in Support/Dwarf.h 2014-10-23 04:08:38 +00:00
TableGen Eliminate some deep std::vector copies. NFC. 2014-10-03 18:33:16 +00:00
Target [X86][SSE] Vector integer/float conversion memory folding 2014-10-25 08:11:20 +00:00
Transforms [SeparateConstOffsetFromGEP] Fixed a bug related to unsigned modulo 2014-10-25 18:34:03 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile