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


  1. GlobalISel: Fix assertion on wide G_ZEXT sources (details)
  2. [FPEnv] Fix chain handling for fpexcept.strict nodes (details)
Commit d7d88b9d8b3efd8b4b07074aa64b5b4136a35b2c by arsenm2
GlobalISel: Fix assertion on wide G_ZEXT sources
It's possible to have a type that needs a mask greater than 64-bits.
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/artifact-combiner-zext.mir
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/LegalizationArtifactCombiner.h
Commit 04a86966fbf46809d7a165b1f089e4d076f0f8a5 by ulrich.weigand
[FPEnv] Fix chain handling for fpexcept.strict nodes
We need to ensure that fpexcept.strict nodes are not optimized away even
if the result is unused. To do that, we need to chain them into the
block's terminator nodes, like already done for PendingExcepts.
This patch adds two new lists of pending chains, PendingConstrainedFP
and PendingConstrainedFPStrict to hold constrained FP intrinsic nodes
without and with fpexcept.strict markers. This allows not only to solve
the above problem, but also to relax chains a bit further by no longer
flushing all FP nodes before a store or other memory access. (They are
still flushed before nodes with other side effects.)
Reviewed By: craig.topper
Differential Revision:
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
The file was modifiedllvm/test/CodeGen/X86/vector-constrained-fp-intrinsics.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
The file was modifiedllvm/test/CodeGen/X86/fp128-libcalls-strict.ll
The file was modifiedllvm/test/CodeGen/PowerPC/ppcf128-constrained-fp-intrinsics.ll
The file was modifiedllvm/test/CodeGen/SystemZ/vector-constrained-fp-intrinsics.ll
The file was modifiedllvm/test/CodeGen/X86/vector-constrained-fp-intrinsics-flags.ll
The file was modifiedllvm/test/CodeGen/X86/fp128-cast-strict.ll
The file was modifiedllvm/test/CodeGen/SystemZ/fp-strict-alias.ll
The file was modifiedllvm/test/CodeGen/X86/fp-intrinsics.ll