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


  1. [X86] Add initialization of MXCSR in llvm-exegesis (details)
  2. [ARM] Remove VHADD patterns (details)
Commit 44b9942898c7167ed95cccef4c3da3d2113e11e8 by
[X86] Add initialization of MXCSR in llvm-exegesis
Summary: This patch is used to initialize the new added register MXCSR.
Reviewers: craig.topper, RKSimon
Subscribers: tschuett, courbet, llvm-commits, LiuChen3
Tags: #llvm
Differential Revision:
The file was modifiedllvm/test/tools/llvm-exegesis/X86/uops-VFMADDSS4rm.s
The file was modifiedllvm/tools/llvm-exegesis/lib/X86/Target.cpp
Commit e9e1daf2b9e800c00a3c08db53650c1569288a1b by
[ARM] Remove VHADD patterns
These instructions do not work quite like I expected them to. They
perform the addition and then shift in a higher precision integer, so do
not match up with the patterns that we added.
For example with s8s, adding 100 and 100 should wrap leaving the shift
to work on a negative number. VHADD will instead do the arithmetic in
higher precision, giving 100 overall. The vhadd gives a "better" result,
but not one that matches up with the input.
I am just removing the patterns here. We might be able to re-add them in
the future by checking for wrap flags or changing bitwidths. But for the
moment just remove them to remove the problem cases.
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vhaddsub.ll
The file was modifiedllvm/lib/Target/ARM/