FailedChanges

Summary

  1. [flang] Allow Fortran comments after #include path (details)
  2. Revert "[X86] Place new constant node in topological order in X86DAGToDAGISel::matchBitExtract." (details)
  3. [X86] Place new constant node in topological order in X86DAGToDAGISel::matchBitExtract (details)
  4. [flang] Respect BZ mode in exponent parts, too (details)
  5. [libc++abi] Do not declare __cxa_finalize and __cxa_atexit in <cxxabi.h> (details)
  6. [GlobalISel] Add `X,Y<dead> = G_UNMERGE Z` -> X = G_TRUNC Z (details)
  7. [GlobalISel] Add a `X, Y = G_UNMERGE(G_ZEXT Z)` -> X = G_ZEXT Z; Y = 0 combine (details)
Commit 4706880f06fbaf5f95dab2b6fd4cd2a5cf1693e6 by pklausler
[flang] Allow Fortran comments after #include path

C-style /*comments*/ are removed during preprocessing directive
tokenization, but Fortran !comments need to be specifically
allowed.

Fixes LLVM bugzilla 47466.

Differential Revision: https://reviews.llvm.org/D87638
The file was addedflang/test/Preprocessing/include-comment.F90
The file was modifiedflang/lib/Parser/preprocessor.cpp
The file was addedflang/test/Preprocessing/empty.h
Commit da1aaa0b7080049e0d6ef82a4a6784e89c20f059 by craig.topper
Revert "[X86] Place new constant node in topological order in X86DAGToDAGISel::matchBitExtract."

I got the bug number wrong.

This reverts commit 32515938901685bcbc438d5f5bb03cb8a9f4c637.
The file was modifiedllvm/lib/Target/X86/X86ISelDAGToDAG.cpp
The file was removedllvm/test/CodeGen/X86/pr47525.ll
Commit 46673763fe598aa9d3f0edaf1ba7a1645c4eacfe by craig.topper
[X86] Place new constant node in topological order in X86DAGToDAGISel::matchBitExtract

Fixes PR47482
The file was modifiedllvm/lib/Target/X86/X86ISelDAGToDAG.cpp
The file was addedllvm/test/CodeGen/X86/pr47482.ll
Commit b2cf572b562048f54b774d9cef88cf792a33ab31 by pklausler
[flang] Respect BZ mode in exponent parts, too

The Fortran standard discusses BZ mode (treat blanks as zero digits)
explicitly in its effect on the editing of the digits prior to the
exponent part, but doesn't mention it in description of the
exponent part.  Other compilers honor BZ mode in the exponent,
so we should do so too.  So "1 e 1 " is 1.E11 in BZ mode.

Differential Revision: https://reviews.llvm.org/D87653
The file was modifiedflang/runtime/edit-input.cpp
The file was modifiedflang/unittests/Runtime/hello.cpp
Commit 8bd0dc5bfe23fdfba110eefd33ff658289a307ab by Louis Dionne
[libc++abi] Do not declare __cxa_finalize and __cxa_atexit in <cxxabi.h>

These functions are not defined by libc++abi, so they don't belong in <cxxabi.h>.

Differential Revision: https://reviews.llvm.org/D75795
The file was modifiedlibcxxabi/include/cxxabi.h
Commit d2321129bda712a0e7ee222c7cb6a62e5ca5b6f4 by qcolombet
[GlobalISel] Add `X,Y<dead> = G_UNMERGE Z` -> X = G_TRUNC Z

Add a combiner helper that replaces G_UNMERGE where all the destination lanes
are dead except the first one with a G_TRUNC.

Differential Revision: https://reviews.llvm.org/D87174
The file was modifiedllvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/combine-shl-narrow.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/postlegalizercombiner-select.mir
The file was modifiedllvm/include/llvm/Target/GlobalISel/Combine.td
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-llvm.amdgcn.image.store.2d.d16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.s.buffer.load.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-amdgcn.s.buffer.load.ll
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/combine-unmerge.mir
Commit b3afad046301d8bb1f4471aceaad704b87de3a69 by qcolombet
[GlobalISel] Add a `X, Y = G_UNMERGE(G_ZEXT Z)` -> X = G_ZEXT Z; Y = 0 combine

Add a combiner helper to transform unmerge of zext into one zext and
a constant 0

Differential Revision: https://reviews.llvm.org/D87427
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/shl-ext-reduce.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/udiv.i32.ll
The file was modifiedllvm/include/llvm/Target/GlobalISel/Combine.td
The file was modifiedllvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/sdiv.i32.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/urem.i32.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/srem.i32.ll
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/combine-unmerge.mir