FailedChanges

Summary

  1. [PowerPC] Correct the bit-width definition for some imm operand in td. (details)
  2. [DAGCombine][PowerPC] Simplify nabs by using legal `smin` operation (details)
  3. [test] Fix widen-iv.ll under NPM (details)
  4. [NFC][MSan] Round up OffsetPtr in PoisonMembers (details)
Commit 49599cb1a20cc4f4d6d2f71965f2069ae8d4f96a by esme.yi
[PowerPC] Correct the bit-width definition for some imm operand in td.

Summary: The imm operands of some instructions are not defined accurately in td.
This is a small patch to correct these definitions.

Reviewed By: steven.zhang

Differential Revision: https://reviews.llvm.org/D91603
The file was modifiedllvm/test/MC/PowerPC/ppc64-errors.s
The file was modifiedllvm/lib/Target/PowerPC/PPCInstrInfo.td
The file was modifiedllvm/lib/Target/PowerPC/PPCInstr64Bit.td
Commit 44bd8ea167f2138de9317196a7b199840e29fb59 by lkail
[DAGCombine][PowerPC] Simplify nabs by using legal `smin` operation

Convert `0 - abs(x)` to `smin (x, -x)` if `smin` is a legal operation.

Verification: https://alive2.llvm.org/ce/z/vpquFR

Reviewed By: RKSimon

Differential Revision: https://reviews.llvm.org/D92637
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
The file was modifiedllvm/test/CodeGen/PowerPC/neg-abs.ll
The file was modifiedllvm/include/llvm/CodeGen/TargetLowering.h
The file was modifiedllvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
Commit deac8b1f450ff7d2d00218d962c3e7e5ff1ff86e by aeubanks
[test] Fix widen-iv.ll under NPM

The -loop-flatten legacy pass preserves loop analyses. The legacy PM
will check all passes that preserve loop analyses that they preserve
LCSSA. This implicitly involves running -loop-simplify. The test
shouldn't depend on verify flags being set in order to run
-loop-simplify, so explicitly add it. The new PM ends up not running it
otherwise.
The file was modifiedllvm/test/Transforms/LoopFlatten/widen-iv.ll
Commit 6e614b0c7ed3a9a66428f342bf2a4b3700525395 by Vitaly Buka
[NFC][MSan] Round up OffsetPtr in PoisonMembers

getFieldOffset(layoutStartOffset)  is expected to point to the first trivial
field or the one which follows non-trivial. So it must be byte aligned already.
However this is not obvious without assumptions about callers.
This patch will avoid the need in such assumptions.

Depends on D92727.

Differential Revision: https://reviews.llvm.org/D92728
The file was modifiedclang/lib/CodeGen/CGClass.cpp