Go to file
Tom Stellard 2c82ee60c3 AMDGPU/SI: Consolidate FLAT patterns
Summary:
We had to sets of identical FLAT patterns one inside the
HasFlatAddressSpace predicate and one inside the useFlatForGloabl
predicate.  This patch merges these sets into a single pattern
under the isCIVI predicate.

The reason we can remove the predicates is that when MUBUF instructions
are legal, the instruction selector will prefer selecting those over
FLAT instructions because MUBUF patterns have a higher complexity score.
So, in this case having patterns for FLAT instructions will have no effect.

This change also simplifies the process for forcing global address space
loads to use FLAT instructions, since we no only have to disable the
MUBUF patterns instead of having to disable the MUBUF patterns and
enable the FLAT patterns.

Reviewers: arsenm, cfang

Subscribers: llvm-commits
llvm-svn: 256807
2016-01-05 02:26:37 +00:00
clang Avoid walking all the declarations in the TU when a tag is declared in function 2016-01-05 01:21:53 +00:00
clang-tools-extra Fix typo. 2016-01-04 21:25:10 +00:00
compiler-rt [sancov] adding internal function 2016-01-05 02:09:54 +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 [libcxx] Fix typo in darwin target_info.py introduced by r256621. 2016-01-04 19:35:40 +00:00
libcxxabi Add new tests for throwing incomplete pointer types 2015-12-23 07:04:32 +00:00
libunwind Replace cmake check for printf with a check for fopen. 2015-12-10 00:47:08 +00:00
lld Improved debugging printing. NFC 2016-01-05 01:56:59 +00:00
lldb [FreeBSD] Use a cast sledgehammer to placate newer versions of clang. 2016-01-04 19:22:35 +00:00
llgo [llgo] Force exporting __morestack from llgoi 2015-11-27 04:46:46 +00:00
llvm AMDGPU/SI: Consolidate FLAT patterns 2016-01-05 02:26:37 +00:00
openmp Removed unused __kmp_*_i8 functions. 2016-01-04 23:20:26 +00:00
polly IslExprBuilder: Provide PointerLikeTypeTraits for isl_id 2015-12-30 20:11:48 +00:00