Go to file
Oliver Stannard 7772f023b5 [TableGen] Fix sort order of asm operand classes
This is a fix for https://llvm.org/bugs/show_bug.cgi?id=22796.

The previous implementation of ClassInfo::operator< allowed cycles of classes
such that x < y < z < x, meaning that a list of them cannot be correctly
sorted, and the sort order could differ with different standard libraries.

The original implementation sorted classes by ValueName if they were otherwise
equal. This isn't strictly necessary, but some backends seem to accidentally
rely on it. If I reverse this comparison I get 8 test failures spread across
the AArch64, Mips and X86 backends, so I have left it in until those backends
can be fixed.

There was one case in the X86 backend where the observable behaviour of the
assembler is changed by this patch. This was because some of the memory asm
operands were not marked as children of X86MemAsmOperand.

Differential Revision: http://reviews.llvm.org/D16141

llvm-svn: 258677
2016-01-25 10:20:19 +00:00
clang [Sema] Improve constness 2016-01-25 09:29:38 +00:00
clang-tools-extra [clang-tidy] Handle decayed types and other improvements in VirtualNearMiss check. 2016-01-22 21:45:51 +00:00
compiler-rt When building without DIA SDK, don't set suppressions.cpp fail 2016-01-22 20:26:10 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc AMDGPU: Add aliases for all VI targets 2015-12-15 18:37:04 +00:00
libcxx Revert "unordered_map: Reuse insert logic in emplace when possible, NFC" 2016-01-23 15:12:47 +00:00
libcxxabi [libcxxabi] Teach cxa_demangle about Hexagon's long double size 2016-01-20 14:10:23 +00:00
libunwind Replace cmake check for printf with a check for fopen. 2015-12-10 00:47:08 +00:00
lld [ELF] - Symbols from object files that override symbols in DSO are added to .dynsym table. 2016-01-25 08:44:38 +00:00
lldb [LLDB] Consider only valid symbols while resolving by address 2016-01-23 10:36:06 +00:00
llgo [llgo] Force exporting __morestack from llgoi 2015-11-27 04:46:46 +00:00
llvm [TableGen] Fix sort order of asm operand classes 2016-01-25 10:20:19 +00:00
openmp Add missing cleanup code for cached indirect lock pool. 2016-01-22 19:16:14 +00:00
polly test: Name instructions in a test case [NFC] 2016-01-24 17:51:37 +00:00