SuccessChanges

Summary

  1. Fix some errors in <arm_neon.h> tests that cause them to fail with lax (details)
  2. [GISel] Allow getConstantVRegVal() to return G_FCONSTANT values. (details)
Commit 3f2d42baa010c5295a8ca5c57a2f15a40def7674 by richard-llvm
Fix some errors in <arm_neon.h> tests that cause them to fail with lax
vector conversions disabled.
llvm-svn: 374457
The file was modifiedclang/test/CodeGen/arm64-vrnd.c
The file was modifiedclang/test/CodeGen/aarch64-v8.2a-neon-intrinsics.c
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/include/llvm/CodeGen/GlobalISel/Utils.h
The file was modifiedllvm/unittests/CodeGen/GlobalISel/ConstantFoldingTest.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-frint.mir
The file was modifiedllvm/lib/CodeGen/GlobalISel/Utils.cpp