LLVM backend for 6502
Go to file
Chris Lattner f523d06816 Be more careful about the order we put stuff onto the worklist. This allow us to
collapse this:
bool %le(int %A, int %B) {
        %c1 = setgt int %A, %B
        %tmp = select bool %c1, int 1, int 0
        %c2 = setlt int %A, %B
        %result = select bool %c2, int -1, int %tmp
        %c3 = setle int %result, 0
        ret bool %c3
}

into:

bool %le(int %A, int %B) {
        %c3 = setle int %A, %B          ; <bool> [#uses=1]
        ret bool %c3
}

which is handy, because the Java FE makes these sequences all over the place.

This is tested as: test/Regression/Transforms/InstCombine/JavaCompare.ll


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14086 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-09 05:08:07 +00:00
autoconf Added checks for mkstemp and getrusage. 2004-06-07 14:26:24 +00:00
docs Minor tweaks 2004-06-09 03:59:05 +00:00
examples/ModuleMaker Configure script for ModuleMaker. 2003-11-25 20:02:07 +00:00
include Cleaned up a dead header file to prevent duplicate definition warnings 2004-06-09 04:38:34 +00:00
lib Be more careful about the order we put stuff onto the worklist. This allow us to 2004-06-09 05:08:07 +00:00
projects Add support for dos-style files 2004-05-27 18:28:32 +00:00
runtime Continue the implementation 2004-05-27 05:51:31 +00:00
test New testcase that is important for the Java FE 2004-06-09 05:07:01 +00:00
tools Clean up the documentation. 2004-06-08 05:56:58 +00:00
utils Regularize title of Regression Test section. Clean up some blank space. 2004-06-09 02:07:25 +00:00
.cvsignore Ok, try #2, this time I'll not be stupid 2003-08-03 18:33:24 +00:00
configure Added checks for mkstemp and getrusage. 2004-06-07 14:26:24 +00:00
CREDITS.TXT Just testing the "Reid has CVS commit access" system 2004-05-06 18:06:18 +00:00
LICENSE.TXT Add spiff 2004-06-01 20:37:41 +00:00
llvm.spec RPM spec file for LLVM tools and libraries. 2004-02-10 03:57:51 +00:00
llvm.spec.in RPM spec file for LLVM tools and libraries. 2004-02-10 03:57:51 +00:00
Makefile Change the install-includes target to completely ignore the llvm/Internal 2004-05-25 20:01:25 +00:00
Makefile.common Standardize header comments of top-level Makefiles. 2004-04-24 00:10:56 +00:00
Makefile.config.in Added the EXEEXT variable so that Makefiles can figure out what extension 2004-06-01 19:04:38 +00:00
Makefile.rules Explicitly specify libtool tag "CXX" so that if you setenv CXX to something 2004-06-08 18:52:45 +00:00
README.txt This file has been superseded by docs/index.html . 2004-05-12 02:48:30 +00:00

This file is a placeholder; see docs/index.html for documentation.