1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-02-01 05:01:59 +01:00
Daniel Dunbar 55ef0b87d7 Fix non-determinism in DAGISel emitter.
- This manifested as non-determinism in the .inc output in rare cases (when two
   distinct patterns ended up being equivalent, which is rather rare). That
   meant the pattern matching was non-deterministic, which could eventually mean
   the code generator selected different instructions based on the arch.

 - It's probably worth making the DAGISel ensure a total ordering (or force the
   user to), but the simple fix here is to totally order the Record* maps based
   on a unique ID.

 - PR4672, PR4711.

Yay:
--
ddunbar@giles:~$ cat ~/llvm.obj.64/lib/Target/*/*.inc | shasum
d1099ff34b21459a5a3e7021c225c080e6017ece  -
ddunbar@giles:~$ cat ~/llvm.obj.ppc/lib/Target/*/*.inc | shasum
d1099ff34b21459a5a3e7021c225c080e6017ece  -
--

llvm-svn: 79846
2009-08-23 09:47:37 +00:00
..
2007-12-29 20:37:13 +00:00
2009-02-20 23:44:54 +00:00
2003-10-16 23:46:01 +00:00
2007-12-29 20:37:13 +00:00
2006-08-09 19:40:13 +00:00
2007-12-29 20:37:13 +00:00
2004-03-02 15:54:25 +00:00
2009-07-27 21:55:32 +00:00
2009-01-01 02:24:48 +00:00
2007-07-03 21:57:50 +00:00