[all-commits] [llvm/llvm-project] f32eba: [NVPTX] Improve folding to mad with immediate 1 (#...
Alex MacLean via All-commits
all-commits at lists.llvm.org
Wed May 29 18:09:42 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f32ebabc27655a1bd26ccdede1610d8d1a05315f
https://github.com/llvm/llvm-project/commit/f32ebabc27655a1bd26ccdede1610d8d1a05315f
Author: Alex MacLean <amaclean at nvidia.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
A llvm/test/CodeGen/NVPTX/combine-mad.ll
Log Message:
-----------
[NVPTX] Improve folding to mad with immediate 1 (#93628)
Extend NVPTX DAG combining logic to distribute a mul instruction across
an add of 1 into a mad where possible. In addition, add support for
transposing a mul through a select with an option of 1, if that would
allow further mul folding.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list