hanchenye-llvm-project/llvm/lib
Manman Ren 879ca9d47d X86: peephole optimization to remove cmp instruction
This patch will optimize the following:
  sub r1, r3
  cmp r3, r1 or cmp r1, r3
  bge L1
TO
  sub r1, r3
  bge L1 or ble L1

If the branch instruction can use flag from "sub", then we can eliminate
the "cmp" instruction.

llvm-svn: 157831
2012-06-01 19:49:33 +00:00
..
Analysis Add support for enum forward declarations. 2012-06-01 00:22:32 +00:00
Archive Include cstdio in a few place that depended on getting it transitively through StringExtras.h 2012-03-23 11:35:30 +00:00
AsmParser switch AttrListPtr::get to take an ArrayRef, simplifying a lot of clients. 2012-05-28 01:47:44 +00:00
Bitcode ConstantRangesSet renamed to IntegersSubset. CRSBuilder renamed to IntegersSubsetMapping. 2012-05-29 12:26:47 +00:00
CodeGen ARM: properly handle alignment for struct byval. 2012-06-01 19:33:18 +00:00
DebugInfo Fix a C++11 UDL conflict. 2012-04-04 20:33:56 +00:00
ExecutionEngine PR1255: case ranges. 2012-06-01 10:06:14 +00:00
Linker Supply a C interface to the "LinkModules" method. 2012-05-09 08:55:40 +00:00
MC Fix typo in assembly directive. Noticed by inspection. 2012-05-31 00:53:18 +00:00
Object Mark some static arrays as const. 2012-05-24 06:35:32 +00:00
Support Path::GetTemporaryDirectory(): Add an assertion if TempDirectory is alive, to check when someone would remove the tempdir. 2012-05-27 13:02:04 +00:00
TableGen Fix 80 columns. 2012-06-01 00:58:41 +00:00
Target X86: peephole optimization to remove cmp instruction 2012-06-01 19:49:33 +00:00
Transforms BoundsChecking: fix a bug when the handling of recursive PHIs failed and could leave dangling references in the cache 2012-06-01 17:43:31 +00:00
VMCore PR1255: case ranges. 2012-06-01 10:06:14 +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