llvm-project
[RISCV][TII] Add and use new hook to optimize/canonicalize instructions after MachineCopyPropagation
#137973
Merged
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Overview
Commits
25
Changes
View On
GitHub
[RISCV][TII] Add and use new hook to optimize/canonicalize instructions after MachineCopyPropagation
#137973
asb
merged 25 commits into
llvm:main
from
asb:2025q2-riscv-optimize-instruction-hook
[RISCV][TII] Add and use new hook fo optmize/canonicalize instruction…
2ad6cc8a
asb
requested a review
from
lenary
333 days ago
asb
requested a review
from
preames
333 days ago
asb
requested a review
from
topperc
333 days ago
llvmbot
added
backend:RISC-V
llvmbot
added
llvm:regalloc
Add changes missed in first push
d23c66cd
asb
changed the title
[RISCV][TII] Add and use new hook fo optimize/canonicalize instructions after MachineCopyPropagation
[RISCV][TII] Add and use new hook to optimize/canonicalize instructions after MachineCopyPropagation
333 days ago
topperc
commented on 2025-04-30
topperc
commented on 2025-04-30
topperc
commented on 2025-04-30
topperc
commented on 2025-04-30
arsenm
commented on 2025-04-30
Fix errors in some patterns and remove PACK/PACKW
5d00e6f7
preames
requested changes on 2025-04-30
Use commuteInstruction helper
3048ba9b
Move optimizeInstructoin to after the preprocessor undefs
7da3f928
(cherry-pick) [RISCV][NFC] Add missed // clang-format on
109a5ba7
Reformat now issue with clang-format being disabled was fixed
a02dc453
Consistently avoid use of pseudoinstructions in comments for transforms
8e73913b
Pull optimizeInstruction call outside of loop
1c8715d8
Simplify and/mul* case as suggested in review
825b1f6b
Re-order instructions in switch
9500cee2
preames
commented on 2025-05-01
clang-format
bb9e2c19
arsenm
commented on 2025-05-01
reorder comment to match code logic
3f2049f1
generalise sltiu check to any non-zero immediate
47ca1a03
Add sll/srl/sra mv-like case
ff42dca7
handle sltiu rd, zero, 0
dc4b2e5e
Add suggested comments for 'normalize' pre-transforms
c765d58a
Get rid of redundant newline
3ee7da34
asb
requested a review
from
preames
327 days ago
preames
approved these changes on 2025-05-06
topperc
commented on 2025-05-07
topperc
commented on 2025-05-07
Set Changed=true if optimizeInstruction returned true in call from MCP
436a5e6d
Cover ADD as well
e2a1be03
Rename hook to simplifyInstruction
44f6605b
Merge remote-tracking branch 'origin/main' into 2025q2-riscv-optimize…
c93404a7
Add comment to .mir file
19f4dc1f
Rename test
d6f84287
Merge remote-tracking branch 'origin/main' into 2025q2-riscv-optimize…
920f408d
asb
merged
52b345d0
into main
325 days ago
Login to write a write a comment.
Login via GitHub
Reviewers
preames
topperc
arsenm
lenary
Assignees
No one assigned
Labels
backend:RISC-V
llvm:regalloc
Milestone
No milestone
Login to write a write a comment.
Login via GitHub