Go to file
Daniel Sanders 452c8aec61 [globalisel][tablegen] Add support for (set $dst, 1) and test X86's OptForSize predicate.
Summary:
It's rare but a small number of patterns use IntInit's at the root of the match.
On X86, one such rule is enabled by the OptForSize predicate and causes the
compiler to use the smaller:
	%0 = MOV32r1
instead of the usual:
	%0 = MOV32ri 1

This patch adds support for matching IntInit's at the root and uses this as a
test case for the optsize attribute that was implemented in r301750

Reviewers: qcolombet, ab, t.p.northover, rovka, kristof.beyls, aditya_nandakumar

Reviewed By: qcolombet

Subscribers: igorb, llvm-commits

Differential Revision: https://reviews.llvm.org/D32791

llvm-svn: 303678
2017-05-23 19:33:16 +00:00
clang Remove trailing whitespace 2017-05-23 18:52:27 +00:00
clang-tools-extra [clang-tidy] Do not dereference a null BaseType 2017-05-23 16:19:04 +00:00
compiler-rt Disable flaky ASan tests temporarily on darwin 2017-05-23 17:50:48 +00:00
debuginfo-tests Add additional CHECKs to safestack.c. 2017-04-17 17:57:05 +00:00
libclc math: Implement sinh function 2017-02-25 02:46:53 +00:00
libcxx Implement LWG#2790: Remove istreambuf_iterator::operator->. It never did anything useful. 2017-05-23 18:55:32 +00:00
libcxxabi [libcxxabi] Fix the test case committed in r303175. 2017-05-16 18:18:03 +00:00
libunwind [libunwind] Fix executable stack directive on Linux. 2017-05-16 20:18:57 +00:00
lld [lld] Infer relocation model from module flags in relocatable LTO link. 2017-05-22 21:11:44 +00:00
lldb Fix bad change in RenderScriptx86ABIFixups.cpp, forgot to change everything necessary 2017-05-23 19:22:31 +00:00
llgo benchcomp: Add a mode for analyzing file sizes. 2017-04-03 19:13:12 +00:00
llvm [globalisel][tablegen] Add support for (set $dst, 1) and test X86's OptForSize predicate. 2017-05-23 19:33:16 +00:00
openmp Fix for KMP_AFFINITY=respect with multiple processor groups 2017-05-15 19:05:59 +00:00
parallel-libs [Axccel] Remove -Wno-missing-braces in build 2016-12-19 21:34:07 +00:00
polly [NFC] [PolyhedralInfo] fix typo 2017-05-23 11:41:52 +00:00