SuccessChanges

Summary

  1. [X86] Make sure load is non-volatile in the MMX_X86movdq2q (loadv2i64) (details)
  2. [X86] Add isel pattern to match VZEXT_MOVL and a v2i64 scalar_to_vector (details)
  3. [LV] fold-tail predication should be respected even with assume_safety (details)
  4. [llvm-readobj][MachO] Fix section type printing (details)
  5. [lldb] Let LLDB depend on intrinsics_gen to fix non-deterministic module (details)
  6. [clang] Loop pragma parsing. NFC. (details)
Commit e6409602a1f9dd3204628ceb32f5b715877a0060 by craig.topper
[X86] Make sure load is non-volatile in the MMX_X86movdq2q (loadv2i64)
isel pattern.
This pattern will narrow the load so we should make sure its not
volatile.
llvm-svn: 368971
The file was modifiedllvm/lib/Target/X86/X86InstrMMX.td (diff)
Commit 1e246b20c038d61153c7a77b8578a188d40938e2 by craig.topper
[X86] Add isel pattern to match VZEXT_MOVL and a v2i64 scalar_to_vector
bitcasted from x86mmx to MOVQ2DQ.
We already had the pattern for just the scalar to vector and bitcast,
but not the case where we wanted zeroes in the high half of the xmm.
llvm-svn: 368972
The file was modifiedllvm/test/CodeGen/X86/mmx-cvt.ll (diff)
The file was modifiedllvm/lib/Target/X86/X86InstrMMX.td (diff)
Commit d57d73daed3057ff48a1e6476a681b2ad46c268c by dorit.nuzman
[LV] fold-tail predication should be respected even with assume_safety
assume_safety implies that loads under "if's" can be safely executed
speculatively (unguarded, unmasked). However this assumption holds only
for the original user "if's", not those introduced by the compiler, such
as the fold-tail "if" that guards us from loading beyond the original
loop trip-count. Currently the combination of fold-tail and
assume-safety pragmas results in ignoring the fold-tail predicate that
guards the loads, generating unmasked loads. This patch fixes this
behavior.
Differential Revision: https://reviews.llvm.org/D66106
Reviewers: Ayal, hsaito, fhahn llvm-svn: 368973
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp (diff)
The file was addedllvm/test/Transforms/LoopVectorize/X86/tail_folding_and_assume_safety.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/X86/vect.omp.force.small-tc.ll (diff)
The file was modifiedllvm/include/llvm/Transforms/Vectorize/LoopVectorizationLegality.h (diff)
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorizationLegality.cpp (diff)
Commit 0a3b1b26287a6a71cc525aeb41a42f7db8a2bd8d by nuta
[llvm-readobj][MachO] Fix section type printing
Summary: Currently, llvm-readobj mistakenly decodes section type as
section attribute.
This patch fixes the bug and affected tests.
Reviewers: JDevlieghere, jhenderson, rupprecht, alexshap, echristo
Reviewed By: jhenderson, rupprecht, alexshap, echristo
Subscribers: javed.absar, rupprecht, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D66075
llvm-svn: 368974
The file was modifiedllvm/test/MC/MachO/values.s (diff)
The file was modifiedllvm/test/MC/MachO/diff-with-two-sections.s (diff)
The file was modifiedllvm/test/MC/MachO/loc.s (diff)
The file was modifiedllvm/test/MC/MachO/tlv-reloc.s (diff)
The file was modifiedllvm/test/MC/MachO/ARM/relax-thumb-ldr-literal.s (diff)
The file was modifiedllvm/test/MC/MachO/direction_labels.s (diff)
The file was modifiedllvm/test/MC/MachO/file.s (diff)
The file was modifiedllvm/test/MC/MachO/reloc-pcrel-offset.s (diff)
The file was modifiedllvm/test/tools/dsymutil/X86/dsym-companion.test (diff)
The file was modifiedllvm/test/MC/MachO/pcrel-to-other-section.s (diff)
The file was modifiedllvm/test/MC/MachO/zerofill-1.s (diff)
The file was modifiedllvm/test/MC/MachO/tbss.s (diff)
The file was modifiedllvm/test/MC/MachO/tdata.s (diff)
The file was addedllvm/test/tools/llvm-readobj/macho-sections.test
The file was modifiedllvm/test/MC/MachO/x86_32-sections.s (diff)
The file was modifiedllvm/test/MC/MachO/indirect-symbols.s (diff)
The file was modifiedllvm/test/MC/MachO/section-flags.s (diff)
The file was modifiedllvm/test/MC/MachO/symbol-indirect.s (diff)
The file was modifiedllvm/test/MC/MachO/darwin-x86_64-reloc-offsets.s (diff)
The file was modifiedllvm/test/MC/MachO/string-table.s (diff)
The file was modifiedllvm/test/MC/MachO/zerofill-3.s (diff)
The file was modifiedllvm/test/tools/llvm-readobj/macho-universal-x86_64.i386.test (diff)
The file was modifiedllvm/tools/llvm-readobj/MachODumper.cpp (diff)
The file was modifiedllvm/test/MC/MachO/x86_32-symbols.s (diff)
The file was modifiedllvm/test/tools/llvm-readobj/sections.test (diff)
The file was modifiedllvm/test/MC/MachO/darwin-x86_64-nobase-relocs.s (diff)
The file was modifiedllvm/test/MC/MachO/symbol-diff.s (diff)
The file was modifiedllvm/test/MC/MachO/relax-recompute-align.s (diff)
The file was modifiedllvm/test/MC/MachO/x86_64-sections.s (diff)
The file was modifiedllvm/test/tools/llvm-readobj/sections-ext.test (diff)
The file was modifiedllvm/test/MC/MachO/ARM/darwin-Thumb-reloc.s (diff)
The file was modifiedllvm/test/MC/MachO/darwin-x86_64-diff-relocs.s (diff)
The file was modifiedllvm/test/MC/MachO/data.s (diff)
The file was modifiedllvm/test/MC/MachO/ARM/darwin-ARM-reloc.s (diff)
The file was modifiedllvm/test/MC/MachO/absolute.s (diff)
The file was modifiedllvm/test/MC/MachO/zerofill-2.s (diff)
The file was modifiedllvm/test/MC/MachO/symbol-flags.s (diff)
The file was modifiedllvm/test/MC/MachO/tls.s (diff)
The file was modifiedllvm/test/MC/MachO/lcomm-attributes.s (diff)
The file was modifiedllvm/test/MC/MachO/symbols-1.s (diff)
The file was modifiedllvm/test/MC/MachO/tlv.s (diff)
The file was modifiedllvm/test/MC/MachO/comm-1.s (diff)
The file was modifiedllvm/test/MC/MachO/section-align-2.s (diff)
The file was modifiedllvm/test/MC/MachO/darwin-complex-difference.s (diff)
The file was modifiedllvm/test/MC/MachO/x86_32-optimal_nop.s (diff)
The file was modifiedllvm/test/MC/MachO/debug_frame.s (diff)
The file was modifiedllvm/test/MC/MachO/section-align-1.s (diff)
The file was modifiedllvm/test/MC/MachO/absolutize.s (diff)
The file was modifiedllvm/test/MC/MachO/thread_init_func.s (diff)
The file was modifiedllvm/test/MC/MachO/weakdef.s (diff)
The file was modifiedllvm/test/MC/MachO/zero-space.s (diff)
The file was modifiedllvm/test/MC/MachO/jcc.s (diff)
The file was modifiedllvm/test/MC/MachO/zerofill-5.s (diff)
The file was modifiedllvm/test/MC/X86/cfi_def_cfa-crash.s (diff)
The file was modifiedllvm/test/MC/MachO/variable-exprs.s (diff)
Commit 5c5408ce2c8c870a7365f18b9fb713c8d085f49b by Raphael Isemann
[lldb] Let LLDB depend on intrinsics_gen to fix non-deterministic module
build failures
Summary: When building with modules we currently fail randomly to build
LLDB's modules and get error messages like below:
``` In file included from <module-includes>:1: In file included from
llvm-project/llvm/include/llvm/IR/Argument.h:18:
llvm-project/llvm/include/llvm/IR/Attributes.h:74:14: fatal error:
'llvm/IR/Attributes.inc' file not found
   #include "llvm/IR/Attributes.inc"
            ^~~~~~~~~~~~~~~~~~~~~~~~
... In file included from
llvm-project/lldb/source/Plugins/ABI/SysV-arm/ABISysV_arm.cpp:9:
llvm-project/lldb/source/Plugins/ABI/SysV-arm/ABISysV_arm.h:12:10: fatal
error: could not build module 'lldb_Wrapper'
```
The reason for this is that our source files can include Clang headers
which in turn include files like Attributes.inc which are generated by
intrinsics_gen. However, it seems Clang can't express this dependency in
its CMake code, so intrinsics_gen is actually not guaranteed to be built
before we start parsing LLDB source files and Clang headers. Clang
worked around this by letting all libraries depend on intrinsics_gen,
which at least lets their builds pass.
As I haven't figured out how to solve these dependencies properly and I
want to get the LLDB+Modules build green, I suggest we copy Clang's hack
until we figure out how to get Clang's dependencies right.
Reviewers: sgraenitz, aprantl, JDevlieghere
Reviewed By: JDevlieghere
Subscribers: mgorny, javed.absar, kristof.beyls, mgrang, lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D66208
llvm-svn: 368975
The file was modifiedlldb/CMakeLists.txt (diff)
Commit 90374f7557211992bbfb0ba51ad31ee49943f0d3 by sjoerd.meijer
[clang] Loop pragma parsing. NFC.
Just a refactoring and a tidy up.
Differential Revision: https://reviews.llvm.org/D64564
llvm-svn: 368976
The file was modifiedclang/lib/Parse/ParsePragma.cpp (diff)