SuccessChanges

Summary

  1. [AArch64] match splat of bitcasted extract subvector to DUPLANE (details)
  2. [ms] [X86] Use "P" modifier on operands to call instructions in inline (details)
  3. [InstCombine] enhance fold for copysign with known sign arg (details)
Commit 0b38af89e2c0adc13a6efb1dd04485229ef0d1c6 by spatel
[AArch64] match splat of bitcasted extract subvector to DUPLANE
This is another potential regression exposed by D63815.
Here we peek through a bitcast to find an extract subvector and scale
the splat offset based on that: splat (bitcast (extract X, C)), LaneC
--> duplane (bitcast X), LaneC'
Differential Revision: https://reviews.llvm.org/D71672
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/AArch64/arm64-neon-2velem.ll
Commit dc5b614fa9a1c83e8275fcb9c3f78444d0a30514 by epastor
[ms] [X86] Use "P" modifier on operands to call instructions in inline
X86 assembly.
Summary: This is documented as the appropriate template modifier for
call operands. Fixes PR44272, and adds a regression test.
Also adds support for operand modifiers in Intel-style inline assembly.
Reviewers: rnk
Reviewed By: rnk
Subscribers: merge_guards_bot, hiraditya, cfe-commits, llvm-commits
Tags: #clang, #llvm
Differential Revision: https://reviews.llvm.org/D71677
The file was modifiedllvm/lib/Target/X86/AsmParser/X86Operand.h
The file was modifiedllvm/lib/Target/X86/X86AsmPrinter.cpp
The file was modifiedclang/test/CodeGen/ms-inline-asm.c
The file was modifiedllvm/lib/Target/X86/X86AsmPrinter.h
The file was modifiedllvm/include/llvm/MC/MCParser/MCTargetAsmParser.h
The file was modifiedllvm/include/llvm/MC/MCParser/MCParsedAsmOperand.h
The file was modifiedclang/test/CodeGen/ms-inline-asm.cpp
The file was modifiedllvm/lib/MC/MCParser/AsmParser.cpp
The file was modifiedclang/lib/CodeGen/TargetInfo.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/AsmPrinterInlineAsm.cpp
The file was modifiedllvm/lib/Target/X86/AsmParser/X86AsmParser.cpp
The file was addedllvm/test/CodeGen/X86/ms-inline-asm-PR44272.ll
The file was modifiedclang/test/CodeGen/mozilla-ms-inline-asm.c
Commit 9cdcd81d3f2e9c1c9ae1e054e24668d46bc08bfb by spatel
[InstCombine] enhance fold for copysign with known sign arg
This is another optimization suggested in PRPR44153:
https://bugs.llvm.org/show_bug.cgi?id=44153
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
The file was modifiedllvm/test/Transforms/InstCombine/copysign.ll