SuccessChanges

Changes from Git (git http://labmaster3.local/git/llvm-project.git)

Summary

  1. [ELF][MC] Set types of aliases of IFunc to STT_GNU_IFUNC (details)
  2. [mips] Make another set of test cases more tolerant to exact symbol (details)
  3. [X86][AVX] Add 'f5' v4f64 shuffle test mentioned in D66004 (details)
  4. [X86] Avoid uses of getZextValue(). NFCI. (details)
  5. [mips] Follow-up to r371313 - fix failed test case. NFC (details)
  6. Fix typo. NFCI (details)
  7. [llvm-nm] - Fix a bug and unbreak ASan BB. (details)
  8. [X86] Add prefer-128-bit subtarget feature. (details)
  9. Fixes an assertion while instantiating a template with an incomplete (details)
  10. [aarch64] Add combine patterns for fp16 fmla (details)
  11. [X86] Add broadcast load unfolding tests for FMA instructions. (details)
  12. [X86] Add support for unfold broadcast loads from FMA instructions. (details)
  13. Remove ::gets for FreeBSD 13 and later (details)
  14. [X86] Make getZeroVector return floating point vectors in their native (details)
Commit 72e99e63a2f9b51853cf74eddae37d7eaf106ca5 by maskray
[ELF][MC] Set types of aliases of IFunc to STT_GNU_IFUNC
```
.type  foo,@gnu_indirect_function
.set   foo,foo_resolver
.set foo2,foo
.set foo3,foo2
```
The types of foo2 and foo3 should be STT_GNU_IFUNC, but we currently
resolve them to the type of foo_resolver. This patch fixes it.
Differential Revision: https://reviews.llvm.org/D67206 Patch by Senran
Zhang
llvm-svn: 371312
The file was modifiedllvm/lib/MC/ELFObjectWriter.cpp
The file was addedllvm/test/MC/ELF/ifunc-alias.s
Commit fcef13344db8883d2ba5adfca1499b605a136c5b by simon
[mips] Make another set of test cases more tolerant to exact symbol
addresses. NFC
llvm-svn: 371313
The file was modifiedlld/test/ELF/mips-higher-highest.s
The file was modifiedlld/test/ELF/mips-hilo.s
The file was addedlld/test/ELF/mips-jalr.s
The file was modifiedlld/test/ELF/mips-gp-local.s
The file was modifiedlld/test/ELF/mips-mgot.s
The file was modifiedlld/test/ELF/mips-got-weak.s
The file was modifiedlld/test/ELF/mips-gprel32-relocs-gp0.s
The file was modifiedlld/test/ELF/mips-hilo-gp-disp.s
The file was modifiedlld/test/ELF/mips-gprel-sec.s
The file was modifiedlld/test/ELF/mips-hilo-hi-only.s
The file was modifiedlld/test/ELF/mips-got-relocs.s
The file was modifiedlld/test/ELF/mips-gprel32-relocs.s
The file was modifiedlld/test/ELF/mips-gp-disp.s
The file was modifiedlld/test/ELF/mips-got16-relocatable.s
The file was removedlld/test/ELF/mips-jalr.test
The file was modifiedlld/test/ELF/mips-got16.s
Commit 31c98abda3f9459d946e2a44af0ad6c04f705d7b by llvm-dev
[X86][AVX] Add 'f5' v4f64 shuffle test mentioned in D66004
llvm-svn: 371314
The file was modifiedllvm/test/CodeGen/X86/vector-shuffle-256-v4.ll
Commit 08692e5dd1f0c51a89980680004312a8a8cfc4eb by llvm-dev
[X86] Avoid uses of getZextValue(). NFCI.
Use getAPIntValue() directly - this is mainly a best practice style
issue to help prevent fuzz tests blowing up when a i12345 (or whatever)
is generated.
Use getConstantOperandVal/getConstantOperandAPInt wrappers where
possible.
llvm-svn: 371315
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 9443c18704ff4d54cb39ae0a3b9296f9dfcfd50c by simon
[mips] Follow-up to r371313 - fix failed test case. NFC
llvm-svn: 371316
The file was modifiedlld/test/ELF/mips-higher-highest.s
Commit 879ed20bde2277c2ae220f67a4abb5a54c521e72 by llvm-dev
Fix typo. NFCI
llvm-svn: 371317
The file was modifiedllvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
Commit bf1a23ad0e77b4f41c65b17731d443dc553f5911 by grimar
[llvm-nm] - Fix a bug and unbreak ASan BB.
BB:
http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux-bootstrap/builds/13820/steps/check-llvm%20asan/logs/stdio
rL371074 revealed a bug in llvm-nm.
This patch fixes it.
llvm-svn: 371318
The file was modifiedllvm/tools/llvm-nm/llvm-nm.cpp
Commit 8cfff1e1bc2e451af8f099e172dc63b4bcd9be5a by craig.topper
[X86] Add prefer-128-bit subtarget feature.
Summary: Similar to the previous prefer-256-bit flag. We might want to
enable this by default some CPUs. This just starts the initial work to
implement and prove that it effects TTI's vector width.
Reviewers: RKSimon, echristo, spatel, atdt
Reviewed By: RKSimon
Subscribers: lebedev.ri, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D67311
llvm-svn: 371319
The file was modifiedllvm/lib/Target/X86/X86TargetTransformInfo.h
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/arith-mul.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/arith-add.ll
The file was modifiedllvm/lib/Target/X86/X86Subtarget.cpp
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/arith-sub.ll
The file was modifiedllvm/lib/Target/X86/X86.td
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/arith-fp.ll
The file was modifiedllvm/lib/Target/X86/X86Subtarget.h
Commit c4450437ec91334d81a28084c4cf637cfdd8bbcb by aaron
Fixes an assertion while instantiating a template with an incomplete
typo-corrected type.
Fixes PR35682. When a template in instantiated with an incomplete typo
corrected type an assertion can trigger if the -ferror-limit is used to
reduce the number of errors.
Patch by Mark de Wever.
llvm-svn: 371320
The file was addedclang/test/SemaTemplate/instantiate-incomplete-typo-suggested-error-limit.cpp
The file was modifiedclang/lib/Sema/SemaTemplate.cpp
Commit eacb2c2c975cf88676a75d0835f85420c72cd46f by sebpop
[aarch64] Add combine patterns for fp16 fmla
This patch enables generation of fused multiply add/sub for instructions
operating on fp16. Tested on aarch64-linux.
Differential Revision: https://reviews.llvm.org/D67297
llvm-svn: 371321
The file was modifiedllvm/lib/Target/AArch64/AArch64InstrInfo.cpp
The file was modifiedllvm/include/llvm/CodeGen/MachineCombinerPattern.h
The file was addedllvm/test/CodeGen/AArch64/fp16-fmla.ll
Commit a461c26dd85e864385b4143390c20728e424dc95 by craig.topper
[X86] Add broadcast load unfolding tests for FMA instructions.
llvm-svn: 371322
The file was modifiedllvm/test/CodeGen/X86/avx512-broadcast-unfold.ll
Commit 1829a09bea15d44053a1adc72e34fab367779c49 by craig.topper
[X86] Add support for unfold broadcast loads from FMA instructions.
llvm-svn: 371323
The file was modifiedllvm/test/CodeGen/X86/avx512-broadcast-unfold.ll
The file was modifiedllvm/lib/Target/X86/X86InstrFoldTables.cpp
Commit 5bd4a4806aafc31c67a55c7d8b2993c879dc5bc2 by dimitry
Remove ::gets for FreeBSD 13 and later
Summary: In https://svnweb.freebsd.org/changeset/base/351659 @emaste
removed gets() from FreeBSD 13's libc, and our copies of libc++ and
libstdc++.  In that change, the declarations were simply deleted, but I
would like to propose this conditional test instead.
Reviewers: EricWF, mclow.lists, emaste
Reviewed By: mclow.lists
Subscribers: krytarowski, christof, ldionne, emaste, libcxx-commits
Differential Revision: https://reviews.llvm.org/D67316
llvm-svn: 371324
The file was modifiedlibcxx/include/__config
The file was modifiedlibcxx/include/cstdio
Commit 37dd59298fd46e28ae2b2569465c5195d5708a0a by craig.topper
[X86] Make getZeroVector return floating point vectors in their native
type on SSE2 and later.
isel used to require zero vectors to be canonicalized to a single type
to minimize the number of patterns needed to match. This is
no longer required.
I plan to do this to integers too, but floating point was simpler to
start with. Integer has a complication where v32i16/v64i8 aren't legal
when the other 512-bit integer types are.
llvm-svn: 371325
The file was modifiedllvm/test/CodeGen/X86/packss.ll
The file was modifiedllvm/test/CodeGen/X86/avx2-gather.ll
The file was modifiedllvm/test/CodeGen/X86/vec_ss_load_fold.ll
The file was modifiedllvm/test/CodeGen/X86/nontemporal-3.ll
The file was modifiedllvm/lib/Target/X86/X86InstrAVX512.td
The file was modifiedllvm/lib/Target/X86/X86InstrSSE.td
The file was modifiedllvm/test/CodeGen/X86/2012-04-26-sdglue.ll
The file was modifiedllvm/test/CodeGen/X86/avx-basic.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp