Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
d98c994
[NFC] Make AMDGPUCombinerHelper methods const
paulhuggett Jan 6, 2025
0494c8d
[llvm] Remove `br i1 undef` from CodeGen/X86 tests (#121733)
leewei05 Jan 6, 2025
8524581
[libclc] Add Maintainers.md for libclc (#118309)
DavidSpickett Jan 6, 2025
3a0b306
[lldb][Docs] Add equivalents of GDB's "skip" to command map (#120740)
DavidSpickett Jan 6, 2025
a3d1239
[LLVM] Fix formatting mistakes in Maintainers.md (NFC)
nikic Jan 6, 2025
5c7e77f
[LLVM] Update AliasAnalysis maintainers (#120447)
nikic Jan 6, 2025
2bd18fb
[clang][NFC] Stop testing CWG2917 in C++98 mode
Endilll Jan 6, 2025
d1d5403
[clang][NFC] Fix expected directives in C++ DRs
Endilll Jan 6, 2025
c4b8f7a
[AArch64][SME] Fix broken compiler check for SME2 support in compiler…
aemerson Jan 6, 2025
3ce85be
[AArch64] Correct position of CFI Instruction for Pointer Authenticat…
Stylie777 Jan 6, 2025
2496985
[clang-format] Add LT_RequiresExpression and LT_SimpleRequirement (#1…
owenca Jan 6, 2025
2934ba8
[mlir] flush output in transform.print (#121382)
ftynse Jan 6, 2025
63c6fed
[clang][NFC] Stop using atypical compiler arguments in C++ DR tests
Endilll Jan 6, 2025
3bb2a6f
Complex deinterleaving/single reductions build fix Reapply "Add suppo…
NickGuy-Arm Jan 6, 2025
7de8dd8
[LoopVectorize][NFC] Fix arith-fp-frem-costs.ll test to use new vplan…
david-arm Jan 6, 2025
cd356ff
[lldb][AIX] HostInfoAIX Support (#117906)
DhruvSrivastavaX Jan 6, 2025
67055a7
[gn build] Port 3a7a9c928671
llvmgnsyncbot Jan 6, 2025
6bee566
[LoopVectorize][NFC] Move "LV: Selecting VF" debug output (#120744)
david-arm Jan 6, 2025
d3bd54b
[AArch64][SVE] Add dot product codegen for partial reductions with no…
JamesChesterman Jan 6, 2025
5436414
[clang] Do not serialize function definitions without a body (#121550)
alejandro-alvarez-sonarsource Jan 6, 2025
86d9040
[mlir][GPU] Add NVVM-specific `cf.assert` lowering (#120431)
matthias-springer Jan 6, 2025
07b2d30
[FLANG][OpenMP]Add support for ALIGN clause on OMP ALLOCATE (#120791)
Leporacanthicus Jan 6, 2025
c35d382
[clang] Add sincos builtin using `llvm.sincos` intrinsic (#114086)
MacDue Jan 6, 2025
06d3d81
[libc++] Simplify unwrap_ref_decay a bit (#121623)
philnik777 Jan 6, 2025
97a04ec
[RISCV] Don't commute with shift if it would break sh{1,2,3}add patte…
lukel97 Jan 6, 2025
d691d30
[lldb][POSIX] Replace bzero with memset in domain socket code (#121747)
DhruvSrivastavaX Jan 6, 2025
30498da
[docs] fix grammar mistake (#121695)
alyanser Jan 6, 2025
f17c586
Reapply "[clang][analyzer] Stable order for SymbolRef-keyed container…
necto Jan 6, 2025
a5f64c1
[AArch64][SME] Disable inlining of callees with new ZT0 state (#121338)
kmclaughlin-arm Jan 6, 2025
92ae976
[mlir] DCE `friend Dialect::registerDialect` (#121728)
makslevental Jan 6, 2025
a002bef
[AMDGPU] [GlobalIsel] Combine Fmul with Select into ldexp instruction…
vg0204 Jan 6, 2025
ccc8ef6
[mlir] DCE `RegisteredOperationName::parseAssembly` decl (#121730)
makslevental Jan 6, 2025
9173ed2
[PhaseOrdering][X86] Add horizontal-sub test coverage for #34072
RKSimon Jan 6, 2025
4bb2ce3
[clang] Fix missing check for nullptr in CallExpr::getUnusedResultAtt…
Mick235711 Jan 6, 2025
70507db
[clang] Expose -f(no-)wrapv as clang-cl option (#120787)
nico Jan 6, 2025
52a8fec
[AArch64] Improve codegen of vectorised early exit loops (#119534)
david-arm Jan 6, 2025
0bc561c
Fix after #121482 (#121764)
JoelWee Jan 6, 2025
ef1ba52
[X86] Support lowering of FMINIMUMNUM/FMAXIMUMNUM (#121464)
phoebewang Jan 6, 2025
632e6c8
[CostModel][X86] getShuffleCost - use processShuffleMasks for all shu…
RKSimon Jan 6, 2025
5374a3d
[InstSimplify] Simplify both operands of select before comparing (#12…
nikic Jan 6, 2025
c316730
[InstCombine] Handle commuted pattern for `((X s/ C1) << C2) + X` (#1…
dtcxzyw Jan 6, 2025
a3a14a5
[Clang] Make passing incomplete types to builtin type-traits a non-sf…
cor3ntin Jan 6, 2025
ba8755d
[Clang][AMDGPU] Stop defaulting to `one-as` for all atomic scopes (#1…
jhuber6 Jan 6, 2025
b4559c7
[clang][NFC] Move CWG273 test into its own file
Endilll Jan 6, 2025
ab16ce4
[InstCombine] Add additional tests for icmp of phi of zext (NFC)
nikic Jan 6, 2025
4b9b115
[clang][NFC] Fill in historical data for C++ DRs with 'yes' availability
Endilll Jan 6, 2025
21378d4
[MLIR] Fix triple mismatch warning for embedded libdevice (#121447)
arthurqiu Jan 6, 2025
4d0b60e
[libc] Fix sort test failing on NVPTX
jhuber6 Jan 6, 2025
d5cf401
[NFC] Make AMDGPUCombinerHelper methods const
paulhuggett Jan 6, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions llvm/lib/Target/AMDGPU/AMDGPUCombinerHelper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ static unsigned inverseMinMax(unsigned Opc) {
}

bool AMDGPUCombinerHelper::matchFoldableFneg(MachineInstr &MI,
MachineInstr *&MatchInfo) {
MachineInstr *&MatchInfo) const {
Register Src = MI.getOperand(1).getReg();
MatchInfo = MRI.getVRegDef(Src);

Expand Down Expand Up @@ -259,7 +259,7 @@ bool AMDGPUCombinerHelper::matchFoldableFneg(MachineInstr &MI,
}

void AMDGPUCombinerHelper::applyFoldableFneg(MachineInstr &MI,
MachineInstr *&MatchInfo) {
MachineInstr *&MatchInfo) const {
// Transform:
// %A = inst %Op1, ...
// %B = fneg %A
Expand Down Expand Up @@ -418,7 +418,7 @@ static bool isFPExtFromF16OrConst(const MachineRegisterInfo &MRI,
bool AMDGPUCombinerHelper::matchExpandPromotedF16FMed3(MachineInstr &MI,
Register Src0,
Register Src1,
Register Src2) {
Register Src2) const {
assert(MI.getOpcode() == TargetOpcode::G_FPTRUNC);
Register SrcReg = MI.getOperand(1).getReg();
if (!MRI.hasOneNonDBGUse(SrcReg) || MRI.getType(SrcReg) != LLT::scalar(32))
Expand All @@ -431,7 +431,7 @@ bool AMDGPUCombinerHelper::matchExpandPromotedF16FMed3(MachineInstr &MI,
void AMDGPUCombinerHelper::applyExpandPromotedF16FMed3(MachineInstr &MI,
Register Src0,
Register Src1,
Register Src2) {
Register Src2) const {
// We expect fptrunc (fpext x) to fold out, and to constant fold any constant
// sources.
Src0 = Builder.buildFPTrunc(LLT::scalar(16), Src0).getReg(0);
Expand Down
8 changes: 4 additions & 4 deletions llvm/lib/Target/AMDGPU/AMDGPUCombinerHelper.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ class AMDGPUCombinerHelper : public CombinerHelper {
public:
using CombinerHelper::CombinerHelper;

bool matchFoldableFneg(MachineInstr &MI, MachineInstr *&MatchInfo);
void applyFoldableFneg(MachineInstr &MI, MachineInstr *&MatchInfo);
bool matchFoldableFneg(MachineInstr &MI, MachineInstr *&MatchInfo) const;
void applyFoldableFneg(MachineInstr &MI, MachineInstr *&MatchInfo) const;

bool matchExpandPromotedF16FMed3(MachineInstr &MI, Register Src0,
Register Src1, Register Src2);
Register Src1, Register Src2) const;
void applyExpandPromotedF16FMed3(MachineInstr &MI, Register Src0,
Register Src1, Register Src2);
Register Src1, Register Src2) const;
};

} // namespace llvm
Expand Down
3 changes: 1 addition & 2 deletions llvm/lib/Target/AMDGPU/AMDGPUPreLegalizerCombiner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,7 @@ class AMDGPUPreLegalizerCombinerImpl : public Combiner {
protected:
const AMDGPUPreLegalizerCombinerImplRuleConfig &RuleConfig;
const GCNSubtarget &STI;
// TODO: Make CombinerHelper methods const.
mutable AMDGPUCombinerHelper Helper;
const AMDGPUCombinerHelper Helper;

public:
AMDGPUPreLegalizerCombinerImpl(
Expand Down
Loading