LLVM/project d1cf928llvm/lib/Target/AMDGPU GCNSubtarget.h AMDGPUSubtarget.h

[NFCI][AMDGPU] Use `GET_SUBTARGETINFO_MACRO` in `GCNSubtarget.h`
DeltaFile
+9-295llvm/lib/Target/AMDGPU/GCNSubtarget.h
+18-44llvm/lib/Target/AMDGPU/AMDGPUSubtarget.h
+14-11llvm/lib/Target/AMDGPU/R600Subtarget.h
+7-5llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+3-3llvm/lib/Target/AMDGPU/R600Processors.td
+1-1llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp
+52-3593 files not shown
+54-3639 files

LLVM/project cd338a1llvm/utils profcheck-xfail.txt

[ProfCheck] Add new InstCombine test to xfail list

The fix should be quick, but just in case it takes a while to land, add
it to the xfail list so we can catch any future regressions more easily.
DeltaFile
+1-0llvm/utils/profcheck-xfail.txt
+1-01 files

LLVM/project a773247llvm/lib/Target/AMDGPU AMDGPUSubtarget.h GCNSubtarget.h

[NFCI][AMDGPU] Move more attributes from `AMDGPUSubtarget` to `GCNSubtarget` (#177670)

They are simply not used by `AMDGPUSubtarget &` but directly via
`GCNSubtarget &`.
DeltaFile
+0-25llvm/lib/Target/AMDGPU/AMDGPUSubtarget.h
+14-0llvm/lib/Target/AMDGPU/GCNSubtarget.h
+0-8llvm/lib/Target/AMDGPU/AMDGPUSubtarget.cpp
+1-5llvm/lib/Target/AMDGPU/AMDGPU.td
+15-384 files

LLVM/project c219dc5llvm/lib/Transforms/InstCombine InstCombineSimplifyDemanded.cpp

Update for fdiv case
DeltaFile
+10-15llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
+10-151 files

LLVM/project fa12daallvm/lib/Transforms/InstCombine InstCombineSimplifyDemanded.cpp

InstCombine: Use SimplifyDemandedFPClass epilog helper function for fma

NFC refactor to use shared code for fold to constant or set fast math
flags.
DeltaFile
+2-14llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
+2-141 files

LLVM/project 00895a2llvm/lib/Transforms/InstCombine InstCombineSimplifyDemanded.cpp

Update for fptrunc case
DeltaFile
+2-2llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
+2-21 files

LLVM/project 510107ellvm/lib/Transforms/InstCombine InstCombineSimplifyDemanded.cpp, llvm/test/Transforms/InstCombine simplify-demanded-fpclass-sqrt.ll

InstCombine: Infer fast math flags for sqrt
DeltaFile
+60-5llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-sqrt.ll
+36-4llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
+96-92 files

LLVM/project e05390cllvm/lib/Transforms/InstCombine InstCombineSimplifyDemanded.cpp

InstCombine: Clean up SimplifyDemandedFPClass use context application

Clean up some now redundant propagation of known-result to known-source
cases. Also move the application of the demanded mask to individual
cases, since the intermediate results are often used.
DeltaFile
+51-76llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
+51-761 files

LLVM/project 14a6f7bllvm/lib/Transforms/InstCombine InstCombineSimplifyDemanded.cpp, llvm/test/Transforms/InstCombine simplify-demanded-fpclass-fma.ll

InstCombine: Implement SimplifyDemandedFPClass for fma (#175616)

This can't do much filtering on the sources, except for nans.
We can also attempt to introduce ninf/nnan.
DeltaFile
+83-32llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
+21-37llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-fma.ll
+104-692 files

LLVM/project e2f1df9llvm/lib/Transforms/InstCombine InstCombineSimplifyDemanded.cpp, llvm/test/Transforms/InstCombine simplify-demanded-fpclass-sqrt.ll

InstCombine: Infer fast math flags for sqrt
DeltaFile
+60-5llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-sqrt.ll
+36-4llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
+96-92 files

LLVM/project 5db9ef2llvm/lib/Transforms/InstCombine InstCombineSimplifyDemanded.cpp

InstCombine: Use SimplifyDemandedFPClass epilog helper function for fma

NFC refactor to use shared code for fold to constant or set fast math
flags.
DeltaFile
+2-14llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
+2-141 files

LLVM/project f1f31fbllvm/lib/Transforms/InstCombine InstCombineSimplifyDemanded.cpp, llvm/test/Transforms/InstCombine simplify-demanded-fpclass-fma.ll

InstCombine: Implement SimplifyDemandedFPClass for fma

This can't do much filtering on the sources, except for nans.
We can also attempt to introduce ninf/nnan.
DeltaFile
+83-32llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
+21-37llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-fma.ll
+104-692 files

LLVM/project f8a4091llvm/lib/Analysis ValueTracking.cpp, llvm/lib/Support KnownFPClass.cpp

ValueTracking: Improve nan tracking for fma square special case (#175999)

In the square multiply case, we can infer if the add of opposite
sign infinities can occur.
DeltaFile
+45-4llvm/test/Transforms/Attributor/nofpclass-fma.ll
+19-0llvm/lib/Analysis/ValueTracking.cpp
+13-1llvm/lib/Support/KnownFPClass.cpp
+77-53 files

LLVM/project 0993d69llvm/include/llvm/Support KnownFPClass.h, llvm/lib/Analysis ValueTracking.cpp

InstCombine: Handle fdiv in SimplifyDemandedFPClass (#175946)

DeltaFile
+126-146llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-fdiv.ll
+130-0llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
+62-0llvm/lib/Support/KnownFPClass.cpp
+8-39llvm/lib/Analysis/ValueTracking.cpp
+15-0llvm/include/llvm/Support/KnownFPClass.h
+341-1855 files

LLVM/project 9e60fa9llvm/test/MC/AMDGPU gfx8_asm_vop3.s gfx7_asm_vop3.s, llvm/test/MC/Disassembler/AMDGPU gfx9_vop3.txt

Merge branch 'users/chapuni/cov/merge/merge-mcdc' into users/chapuni/cov/merge/trunk
DeltaFile
+42,349-42,348llvm/test/MC/AMDGPU/gfx8_asm_vop3.s
+41,419-41,418llvm/test/MC/AMDGPU/gfx7_asm_vop3.s
+36,428-36,427llvm/test/MC/AMDGPU/gfx9_asm_vop3.s
+28,175-28,174llvm/test/MC/AMDGPU/gfx9_asm_vopc.s
+22,711-22,884llvm/test/MC/Disassembler/AMDGPU/gfx9_vop3.txt
+22,276-22,275llvm/test/MC/AMDGPU/gfx8_asm_vopc.s
+193,358-193,5266,683 files not shown
+1,508,339-1,275,4946,689 files

LLVM/project 40525c5llvm/test/MC/AMDGPU gfx8_asm_vop3.s gfx7_asm_vop3.s, llvm/test/MC/Disassembler/AMDGPU gfx9_vop3.txt

Merge branch 'users/chapuni/cov/merge/strategy' into users/chapuni/cov/merge/merge-mcdc
DeltaFile
+42,349-42,348llvm/test/MC/AMDGPU/gfx8_asm_vop3.s
+41,419-41,418llvm/test/MC/AMDGPU/gfx7_asm_vop3.s
+36,428-36,427llvm/test/MC/AMDGPU/gfx9_asm_vop3.s
+28,175-28,174llvm/test/MC/AMDGPU/gfx9_asm_vopc.s
+22,711-22,884llvm/test/MC/Disassembler/AMDGPU/gfx9_vop3.txt
+22,276-22,275llvm/test/MC/AMDGPU/gfx8_asm_vopc.s
+193,358-193,5266,683 files not shown
+1,508,339-1,275,4946,689 files

LLVM/project 668f1c0llvm/lib/Target/AArch64 AArch64InstrInfo.td, llvm/test/CodeGen/AArch64 aarch64-mull-masks.ll cpa-globalisel.ll

[AArch64][GlobalISel] Add GISelPredicateCode for smullwithsignbits

This allows us to select more smull instructions in the same way that SDAG does
using known sign bits.
DeltaFile
+285-637llvm/test/CodeGen/AArch64/aarch64-mull-masks.ll
+8-7llvm/test/CodeGen/AArch64/cpa-globalisel.ll
+6-1llvm/lib/Target/AArch64/AArch64InstrInfo.td
+299-6453 files

LLVM/project 96d0ca1llvm/test/MC/AMDGPU gfx8_asm_vop3.s gfx7_asm_vop3.s, llvm/test/MC/Disassembler/AMDGPU gfx9_vop3.txt

Merge branch 'users/chapuni/cov/merge/forfile' into users/chapuni/cov/merge/strategy

Conflicts:
        llvm/test/tools/llvm-cov/branch-templates.test
DeltaFile
+42,349-42,348llvm/test/MC/AMDGPU/gfx8_asm_vop3.s
+41,419-41,418llvm/test/MC/AMDGPU/gfx7_asm_vop3.s
+36,428-36,427llvm/test/MC/AMDGPU/gfx9_asm_vop3.s
+28,175-28,174llvm/test/MC/AMDGPU/gfx9_asm_vopc.s
+22,711-22,884llvm/test/MC/Disassembler/AMDGPU/gfx9_vop3.txt
+22,276-22,275llvm/test/MC/AMDGPU/gfx8_asm_vopc.s
+193,358-193,5266,686 files not shown
+1,508,387-1,275,5286,692 files

LLVM/project e14dc5fllvm/test/MC/AMDGPU gfx8_asm_vop3.s gfx7_asm_vop3.s, llvm/test/MC/Disassembler/AMDGPU gfx9_vop3.txt

Merge branch 'users/chapuni/cov/merge/region_segment' into users/chapuni/cov/merge/forfile

Conflicts:
        llvm/test/tools/llvm-cov/branch-templates.test
DeltaFile
+42,349-42,348llvm/test/MC/AMDGPU/gfx8_asm_vop3.s
+41,419-41,418llvm/test/MC/AMDGPU/gfx7_asm_vop3.s
+36,428-36,427llvm/test/MC/AMDGPU/gfx9_asm_vop3.s
+28,175-28,174llvm/test/MC/AMDGPU/gfx9_asm_vopc.s
+22,711-22,884llvm/test/MC/Disassembler/AMDGPU/gfx9_vop3.txt
+22,276-22,275llvm/test/MC/AMDGPU/gfx8_asm_vopc.s
+193,358-193,5266,686 files not shown
+1,508,387-1,275,5286,692 files

LLVM/project 1efe7f7llvm/test/MC/AMDGPU gfx8_asm_vop3.s gfx7_asm_vop3.s, llvm/test/MC/Disassembler/AMDGPU gfx9_vop3.txt

Merge branch 'users/chapuni/mcdc/nest/bitmapaddr' into users/chapuni/cov/merge/region_segment
DeltaFile
+42,349-42,348llvm/test/MC/AMDGPU/gfx8_asm_vop3.s
+41,419-41,418llvm/test/MC/AMDGPU/gfx7_asm_vop3.s
+36,428-36,427llvm/test/MC/AMDGPU/gfx9_asm_vop3.s
+28,175-28,174llvm/test/MC/AMDGPU/gfx9_asm_vopc.s
+22,711-22,884llvm/test/MC/Disassembler/AMDGPU/gfx9_vop3.txt
+22,276-22,275llvm/test/MC/AMDGPU/gfx8_asm_vopc.s
+193,358-193,5266,687 files not shown
+1,508,432-1,275,5666,693 files

LLVM/project 69059c4clang-tools-extra/clang-tidy/llvm UseRangesCheck.cpp, clang-tools-extra/docs ReleaseNotes.rst

[clang-tidy] Add llvm::accumulate to llvm-use-ranges (#177655)

I missed this in https://github.com/llvm/llvm-project/pull/177457.

All range wrappers from STLExtras should be covered by llvm-use-ranges
now.
DeltaFile
+15-0clang-tools-extra/test/clang-tidy/checkers/llvm/use-ranges.cpp
+5-2clang-tools-extra/clang-tidy/llvm/UseRangesCheck.cpp
+2-1clang-tools-extra/docs/ReleaseNotes.rst
+1-0clang-tools-extra/docs/clang-tidy/checks/llvm/use-ranges.rst
+23-34 files

LLVM/project 7106ea3llvm/test/Transforms/InstCombine simplify-demanded-fpclass-fma.ll

InstCombine: Add baseline fma tests for SimplifyDemandedFPClass (#175615)

DeltaFile
+316-0llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-fma.ll
+316-01 files

LLVM/project c928d79llvm/lib/CodeGen/SelectionDAG DAGCombiner.cpp

DAG: Use correct shift type for big endian store forwarding case (#177752)

Theoretically the shift amount type could differ, it just happens
none of the big endian targets do this.
DeltaFile
+3-2llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+3-21 files

LLVM/project 3f9ddb2lldb/include/lldb/Host/windows PseudoConsole.h

[lldb] Remove a redundant semicolon. NFC.

This fixes the following warning, repeated multiple times:

    llvm-project/lldb/include/lldb/Host/windows/PseudoConsole.h:69:2: warning: extra ';' outside of a function is incompatible with C++98 [-Wc++98-compat-extra-semi]
       69 | }; // namespace lldb_private
          |  ^
DeltaFile
+1-1lldb/include/lldb/Host/windows/PseudoConsole.h
+1-11 files

LLVM/project 865978alldb/source/Utility VirtualDataExtractor.cpp

[lldb] Fix compilation for 32 bit platforms

This fixes the following error on 32 bit platforms, if compiling with Clang:

    llvm-project/lldb/source/Utility/VirtualDataExtractor.cpp:211:55: error: non-constant-expression cannot be narrowed from type 'SizeType' (aka 'unsigned long long') to 'size_t' (aka 'unsigned int') in initializer list [-Wc++11-narrowing]
      211 |   return {m_start + static_cast<size_t>(entry->data), entry->size};
          |                                                       ^~~~~~~~~~~
    llvm-project/lldb/source/Utility/VirtualDataExtractor.cpp:211:55: note: insert an explicit cast to silence this issue
      211 |   return {m_start + static_cast<size_t>(entry->data), entry->size};
          |                                                       ^~~~~~~~~~~
          |                                                       static_cast<size_t>( )
DeltaFile
+1-1lldb/source/Utility/VirtualDataExtractor.cpp
+1-11 files

LLVM/project a87e99cllvm/lib/Analysis ValueTracking.cpp, llvm/test/Transforms/Attributor nofpclass-fma.ll

propagate flags into fma queries
DeltaFile
+41-0llvm/test/Transforms/Attributor/nofpclass-fma.ll
+15-0llvm/lib/Analysis/ValueTracking.cpp
+56-02 files

LLVM/project d214920llvm/lib/Support KnownFPClass.cpp

Add comment
DeltaFile
+5-1llvm/lib/Support/KnownFPClass.cpp
+5-11 files

LLVM/project b01f899llvm/lib/Support KnownFPClass.cpp, llvm/test/Transforms/Attributor nofpclass-fma.ll

fix too conservative
DeltaFile
+1-3llvm/lib/Support/KnownFPClass.cpp
+2-2llvm/test/Transforms/Attributor/nofpclass-fma.ll
+3-52 files

LLVM/project ce3a442llvm/lib/Analysis ValueTracking.cpp, llvm/lib/Support KnownFPClass.cpp

ValueTracking: Improve nan tracking for fma square special case

In the square multiply case, we can infer if the add of opposite
sign infinities can occur.
DeltaFile
+11-1llvm/lib/Support/KnownFPClass.cpp
+2-2llvm/test/Transforms/Attributor/nofpclass-fma.ll
+4-0llvm/lib/Analysis/ValueTracking.cpp
+17-33 files

LLVM/project 1b07070llvm/include/llvm/Support KnownFPClass.h

Fix comment
DeltaFile
+1-1llvm/include/llvm/Support/KnownFPClass.h
+1-11 files