FailedChanges

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

Summary

  1. [ARM][MVE][Intrinsics] Add VMINQ/VMAXQ/VMINNMQ/VMAXNMQ intrinsics. (details)
  2. [lldb][NFC] Make Stream's IndentLevel an unsigned integers. (details)
  3. AMDGPU: Fixed indeterminate map iteration in SIPeepholeSDWA (details)
  4. [llvm-readobj/llvm-readelf] - Simplify the code that dumps versions. (details)
  5. [X86] Add initialization of FPCW in llvm-exegesis (details)
  6. [lldb][NFC] Use raw_ostream instead of Stream in Baton::GetDescription (details)
  7. [lldb][NFC] Don't calculate member indices in (details)
  8. [OpenCL] Fix address space for implicit conversion (PR43145) (details)
  9. [InstCombine] fold copysign with constant sign argument to (fneg+)fabs (details)
  10. [ARM][AArch64] Complex addition Neon intrinsics for Armv8.3-A (details)
  11. [PowerPC] Fix crash in peephole optimization (details)
  12. [InstCombine] Revert rL341831: relax one-use check in (details)
Commit 510792a2e0e3792871baa00ed34e162bba7cd9a2 by mark.murray
[ARM][MVE][Intrinsics] Add VMINQ/VMAXQ/VMINNMQ/VMAXNMQ intrinsics.
Summary: Add VMINQ/VMAXQ/VMINNMQ/VMAXNMQ intrinsics and their predicated
versions. Add unit tests.
Subscribers: kristof.beyls, hiraditya, dmgreen, cfe-commits,
llvm-commits
Tags: #clang, #llvm
Differential Revision: https://reviews.llvm.org/D70829
The file was modifiedllvm/lib/Target/ARM/ARMInstrMVE.td
The file was addedllvm/test/CodeGen/Thumb2/mve-intrinsics/vminq.ll
The file was modifiedllvm/include/llvm/IR/IntrinsicsARM.td
The file was addedclang/test/CodeGen/arm-mve-intrinsics/vmaxq.c
The file was addedclang/test/CodeGen/arm-mve-intrinsics/vminnmq.c
The file was addedclang/test/CodeGen/arm-mve-intrinsics/vmaxnmq.c
The file was addedclang/test/CodeGen/arm-mve-intrinsics/vminq.c
The file was addedllvm/test/CodeGen/Thumb2/mve-intrinsics/vmaxq.ll
The file was modifiedclang/include/clang/Basic/arm_mve.td
The file was addedllvm/test/CodeGen/Thumb2/mve-intrinsics/vminnmq.ll
The file was modifiedclang/include/clang/Basic/arm_mve_defs.td
The file was addedllvm/test/CodeGen/Thumb2/mve-intrinsics/vmaxnmq.ll
Commit f8fb3729e9d794f174aa737351235f76e6ac46db by Raphael Isemann
[lldb][NFC] Make Stream's IndentLevel an unsigned integers.
We expect it to be always positive values and LLVM/Clang's IndentLevel
values are already unsigned integers, so we should do the same.
The file was modifiedlldb/include/lldb/Utility/Stream.h
The file was modifiedlldb/source/Utility/Stream.cpp
The file was modifiedlldb/source/Target/Target.cpp
Commit 3d5ba7c60f393096ab07880c65032d4b94880bc6 by tim.renouf
AMDGPU: Fixed indeterminate map iteration in SIPeepholeSDWA
Differential Revision: https://reviews.llvm.org/D70783
Change-Id: Ic26f915a4acb4c00ecefa9d09d7c24cec370ed06
The file was modifiedllvm/lib/Target/AMDGPU/SIPeepholeSDWA.cpp
Commit e19f19b09f83b1d64b9513a8f209773d4e21ad15 by grimar
[llvm-readobj/llvm-readelf] - Simplify the code that dumps versions.
After changes introduced in D70495 and D70826 its now possible to
significantly simplify the code we have.
This also fixes an issue: previous code assumed that version strings
should always be read from the dynamic string table. While it is
normally true, the string table should be taken from the corresponding
sh_link field.
Differential revision: https://reviews.llvm.org/D70855
The file was modifiedllvm/tools/llvm-readobj/ELFDumper.cpp
The file was modifiedllvm/test/tools/llvm-readobj/elf-verdef-invalid.test
The file was modifiedllvm/test/tools/llvm-readobj/elf-verneed-invalid.test
Commit 76b70f6f75e90074bf2f5168383cc3afc21b61ad by pengfei.wang
[X86] Add initialization of FPCW in llvm-exegesis
Summary: This is a following up to D70874. It adds the initialization of
FPCW in llvm-exegesis.
Reviewers: craig.topper, RKSimon, courbet, gchatelet
Subscribers: tschuett, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D70891
The file was addedllvm/test/tools/llvm-exegesis/X86/uops-ADD_F32m.s
The file was modifiedllvm/tools/llvm-exegesis/lib/X86/Target.cpp
Commit 4f728bfc13c45bc744bfdbfc3086bed74a8cbb4c by Raphael Isemann
[lldb][NFC] Use raw_ostream instead of Stream in Baton::GetDescription
Removing raw_ostream here is getting us closer to removing LLDB's Stream
class.
The file was modifiedlldb/include/lldb/Breakpoint/BreakpointOptions.h
The file was modifiedlldb/include/lldb/Utility/Baton.h
The file was modifiedlldb/include/lldb/Breakpoint/WatchpointOptions.h
The file was modifiedlldb/source/Utility/Baton.cpp
The file was modifiedlldb/source/Commands/CommandObjectBreakpointCommand.cpp
The file was modifiedlldb/source/Breakpoint/BreakpointOptions.cpp
The file was modifiedlldb/source/Commands/CommandObjectWatchpointCommand.cpp
The file was modifiedlldb/source/Breakpoint/WatchpointOptions.cpp
Commit d62026e2dde1d27c7d1c702f11b0464e1d470d4f by Raphael Isemann
[lldb][NFC] Don't calculate member indices in
DWARFASTParserClang::ParseChildMembers
We keep counting members and then don't do anything with the computed
result.
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
Commit 62364965619bd7e8847418b21ec327a78bd1624c by sven.vanhaastregt
[OpenCL] Fix address space for implicit conversion (PR43145)
Clang was creating a DerivedToBase ImplicitCastExpr that was also
casting between address spaces as part of the second step in the
standard conversion sequence.  Defer the address space conversion to the
third step in the sequence instead, such that we get a separate
ImplicitCastExpr for the address space conversion.
Differential Revision: https://reviews.llvm.org/D70605
The file was modifiedclang/lib/Sema/SemaExprCXX.cpp
The file was modifiedclang/test/CodeGenOpenCLCXX/addrspace-derived-base.cl
Commit af0babc90a5c35cbecce4cc4a27e0396fe03f588 by spatel
[InstCombine] fold copysign with constant sign argument to (fneg+)fabs
If the sign of the sign argument is known (this could be extended to use
ValueTracking), then we can use fneg+fabs to clear/set the sign bit of
the magnitude argument.
http://llvm.org/docs/LangRef.html#llvm-copysign-intrinsic
This transform is already done in DAGCombiner, but we can do it sooner
in IR as suggested in PR44153:
https://bugs.llvm.org/show_bug.cgi?id=44153
We have effectively no analysis for copysign in IR, so we are taking the
unusual step of increasing the number of IR instructions for the
negative constant case.
Differential Revision: https://reviews.llvm.org/D70792
The file was modifiedllvm/test/Transforms/InstCombine/copysign.ll
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
Commit dcf11c5e86cee94ec649a7a31c5dd259f60579d6 by victor.campos
[ARM][AArch64] Complex addition Neon intrinsics for Armv8.3-A
Summary: Add support for vcadd_* family of intrinsics. This set of
intrinsics is available in Armv8.3-A.
The fp16 versions require the FP16 extension, which has been available
(opt-in) since Armv8.2-A.
Reviewers: t.p.northover
Reviewed By: t.p.northover
Subscribers: t.p.northover, kristof.beyls, hiraditya, cfe-commits,
llvm-commits
Tags: #clang, #llvm
Differential Revision: https://reviews.llvm.org/D70862
The file was modifiedclang/lib/Basic/Targets/ARM.cpp
The file was addedclang/test/CodeGen/aarch64-neon-vcadd.c
The file was modifiedclang/include/clang/Basic/arm_neon.td
The file was modifiedllvm/include/llvm/IR/IntrinsicsARM.td
The file was modifiedclang/lib/CodeGen/CGBuiltin.cpp
The file was modifiedllvm/lib/Target/ARM/ARMInstrNEON.td
The file was addedllvm/test/CodeGen/ARM/neon-vcadd.ll
The file was modifiedclang/lib/Basic/Targets/AArch64.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64InstrInfo.td
The file was addedllvm/test/CodeGen/AArch64/neon-vcadd.ll
The file was modifiedclang/lib/Basic/Targets/ARM.h
The file was modifiedllvm/include/llvm/IR/IntrinsicsAArch64.td
The file was addedclang/test/CodeGen/arm-neon-vcadd.c
Commit 241cbf201a6f4b7658697e3c76fc6e741d049a01 by nemanja.i.ibm
[PowerPC] Fix crash in peephole optimization
When converting reg+reg shifts to reg+imm rotates, we neglect to
consider the CodeGenOnly versions of the 32-bit shift mnemonics. This
means we produce a rotate with missing operands which causes a crash.
Committing this fix without review since it is non-controversial that
the list of mnemonics to consider should include the 64-bit aliases for
the exact mnemonics.
Fixes PR44183.
The file was addedllvm/test/CodeGen/PowerPC/pr44183.ll
The file was modifiedllvm/lib/Target/PowerPC/PPCInstrInfo.cpp
Commit 0f22e783a038b6983f0fe161eef6cf2add3a4156 by lebedev.ri
[InstCombine] Revert rL341831: relax one-use check in
foldICmpAddConstant() (PR44100)
rL341831 moved one-use check higher up, restricting a few folds that
produced a single instruction from two instructions to the case where
the inner instruction would go away.
Original commit message:
> InstCombine: move hasOneUse check to the top of foldICmpAddConstant
>
> There were two combines not covered by the check before now,
> neither of which actually differed from normal in the benefit
analysis.
>
> The most recent seems to be because it was just added at the top of
the
> function (naturally). The older is from way back in 2008 (r46687)
> when we just didn't put those checks in so routinely, and has been
> diligently maintained since.
From the commit message alone, there doesn't seem to be a deeper
motivation, deeper problem that was trying to solve, other than 'fixing
the wrong one-use check'.
As i have briefly discusses in IRC with Tim, the original motivation can
no longer be recovered, too much time has passed.
However i believe that the original fold was doing the right thing, we
should be performing such a transformation even if the inner `add` will
not go away - that will still unchain the comparison from `add`, it will
no longer need to wait for `add` to compute.
Doing so doesn't seem to break any particular idioms, as least as far as
i can see.
References https://bugs.llvm.org/show_bug.cgi?id=44100
The file was modifiedllvm/test/Transforms/LoopVectorize/if-conversion-nest.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/runtime-check.ll
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
The file was modifiedllvm/test/Transforms/LoopUnroll/runtime-loop-multiple-exits.ll
The file was modifiedllvm/test/Transforms/InstCombine/icmp-add.ll