Go to file
Matt Arsenault 6d87f28afd Remove unnecessary call to getAllocatableRegClass
I'm not sure what the point of this was. I'm not sure why
you would ever define an instruction that produces an unallocatable
register class. No tests fail with this removed, and it seems like
it should be a verifier error to define such an instruction.

This was problematic for AMDGPU because it would make bad decisions
by arbitrarily changing the register class when unsetting isAllocatable
for VS_32/VS_64, which is currently set as a workaround to this problem.

AMDGPU uses the VS_32/VS_64 register classes to represent operands which
can use either VGPRs or SGPRs. When  isAllocatable is unset for these,
this would need to pick  either the SGPR or VGPR class and insert either
a copy we don't want, or an illegal copy we would need to deal with
later. A semi-arbitrary register class ordering decision is made in tablegen,
which resulted in always picking a VGPR class because it happens to have
more registers than the SGPR register class. We really just want to
use whatever register class the original register had.

llvm-svn: 252565
2015-11-10 00:30:14 +00:00
clang Use the normal switch over getArch() approach and not a long if chain. 2015-11-10 00:23:12 +00:00
clang-tools-extra Rewording some of this documentation to describe the check instead of try to rationalize the behavior of the check. The links already provide sufficient rationale. 2015-11-09 18:04:34 +00:00
compiler-rt [CMake] Don't pass -fPIC when compiling the darwin builtins 2015-11-09 23:48:58 +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 integer: remove explicit casts from _MIN definitions 2015-10-06 19:12:12 +00:00
libcxx Mark LWG#2486 as complete. Eric did this as part of r242959 2015-11-09 20:49:15 +00:00
libcxxabi Fix LIBCXXABI_HAS_NO_THREADS configuration. 2015-10-14 19:21:38 +00:00
libunwind Make it possible to use libunwind without heap. 2015-11-09 06:57:29 +00:00
lld Use llvm provided read and write functions. 2015-11-09 21:43:00 +00:00
lldb Code cleanup 2015-11-10 00:21:10 +00:00
llgo debug: Update for debug info API change. 2015-11-05 22:04:20 +00:00
llvm Remove unnecessary call to getAllocatableRegClass 2015-11-10 00:30:14 +00:00
openmp Fixes to wait-loop code 2015-11-09 16:31:51 +00:00
polly Fix non-affine generated entering node not being recognized as dominating 2015-11-09 23:33:40 +00:00