UnstableChanges

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

Summary

  1. [GISel] Allow getConstantVRegVal() to return G_FCONSTANT values. (details)
  2. [X86] Add test cases for packus/ssat/usat 32i32->v32i8 test cases. NFC (details)
  3. [X86] Guard against leaving a dangling node in combineTruncateWithSat. (details)
  4. [test] Reduce inconsistency between lit configuration files. (details)
  5. [Make] Remove spurious line break (details)
Commit 0112123eea5f36ecc8880632f70d80b6522518d0 by hayarms
[GISel] Allow getConstantVRegVal() to return G_FCONSTANT values.
In GISel we have both G_CONSTANT and G_FCONSTANT, but because in GISel
we don't really have a concept of Float vs Int value the only difference
between the two is where the data originates from.
What both G_CONSTANT and G_FCONSTANT return is just a bag of bits with
the constant representation in it.
By making getConstantVRegVal() return G_FCONSTANTs bit representation as
well we allow ConstantFold and other things to operate with G_FCONSTANT.
Adding tests that show ConstantFolding to work on mixed G_CONSTANT and
G_FCONSTANT sources.
Differential Revision: https://reviews.llvm.org/D68739
llvm-svn: 374458
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-frint.mir
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/Utils.h
The file was modifiedllvm/lib/CodeGen/GlobalISel/Utils.cpp
The file was modifiedllvm/unittests/CodeGen/GlobalISel/ConstantFoldingTest.cpp
Commit a0df8b72f222ec66b268eec619694eed46b8d016 by craig.topper
[X86] Add test cases for packus/ssat/usat 32i32->v32i8 test cases. NFC
llvm-svn: 374459
The file was modifiedllvm/test/CodeGen/X86/min-legal-vector-width.ll
The file was modifiedllvm/test/CodeGen/X86/vector-trunc-ssat.ll
The file was modifiedllvm/test/CodeGen/X86/vector-trunc-usat.ll
The file was modifiedllvm/test/CodeGen/X86/vector-trunc-packus.ll
Commit 4ee7f8365f90cb21aa0afed0754cb13493e09e7d by craig.topper
[X86] Guard against leaving a dangling node in combineTruncateWithSat.
When handling the packus pattern for i32->i8 we do a two step process
using a packss to i16 followed by a packus to i8. If the final i8 step
is a type with less than 64-bits the packus step will return SDValue(),
but the i32->i16 step might have succeeded. This leaves the nodes from
the middle step dangling.
Guard against this by pre-checking that the number of elements is at
least 8 before doing the middle step.
With that check in place this should mean the only other case the middle
step itself can fail is when SSE2 is disabled. So add an early SSE2
check then just assert that neither the middle or final step ever fail.
llvm-svn: 374460
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit b9e518d3c69cd81b5a50009f4eee43ad51c53cba by Jonas Devlieghere
[test] Reduce inconsistency between lit configuration files.
Add the Python extension to the configuration files in the API directory
to match the other test suites.
llvm-svn: 374461
The file was removedlldb/test/API/lit.site.cfg.in
The file was removedlldb/test/API/lit.cfg
The file was addedlldb/test/API/lit.site.cfg.py.in
The file was modifiedlldb/test/CMakeLists.txt
The file was addedlldb/test/API/lit.cfg.py
Commit 6cff8648cc84125d603b9de72de1f949e98b8092 by Jonas Devlieghere
[Make] Remove spurious line break
This test is disabled upstream and therefore this went unnoticed.
llvm-svn: 374462
The file was modifiedlldb/packages/Python/lldbsuite/test/macosx/macabi/Makefile