LLVM backend for 6502
Go to file
Chris Lattner 1654cff8e8 Do not sort by the address of LLVM ConstantInt* objects. This produces
nondeterministic results that depend on where these objects land in memory.
Instead, sort by the value of the constant, which is stable.

Before this patch, the -simplifycfg pass run from two different compilers
could cause different code to be generated, though it was semantically the
same:

@@ -12258,8 +12258,8 @@
        %s_addr.1 = phi sbyte* [ %s, %entry ], [ %inc.0, %no_exit ]             ; <sbyte*> [#uses=5]
        %tmp.1 = load sbyte* %s_addr.1          ; <sbyte> [#uses=1]
        switch sbyte %tmp.1, label %no_exit [
-                sbyte 0, label %loopexit
                 sbyte 46, label %loopexit
+                sbyte 0, label %loopexit
        ]

We need to stomp all of this stuff out.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14243 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-19 07:02:14 +00:00
autoconf Added checks for mkstemp and getrusage. 2004-06-07 14:26:24 +00:00
docs Bug fixed 2004-06-19 01:11:02 +00:00
examples/ModuleMaker Configure script for ModuleMaker. 2003-11-25 20:02:07 +00:00
include Add a target-independent way to query page size. 2004-06-18 15:30:25 +00:00
lib Do not sort by the address of LLVM ConstantInt* objects. This produces 2004-06-19 07:02:14 +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 Test for PR374 2004-06-19 01:08:12 +00:00
tools Clean up documentation and naming of variables. 2004-06-10 18:38:44 +00:00
utils Make header comment fit within 80 cols. 2004-06-17 15:49:36 +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 tags rule to pipe output from find through etags command so that it 2004-06-11 03:10:27 +00:00
Makefile.common Standardize header comments of top-level Makefiles. 2004-04-24 00:10:56 +00:00
Makefile.config.in Since the Great LLVM Tool Renaming(tm), we no longer have collisions between our 2004-06-17 15:39:58 +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.