We handled constant bit/addrspace-casts and GEPs but no
bit/addrspace-cast instructions before.
Details
Details
- Reviewers
arsenm fhahn bollu lebedev.ri
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D99845
[GlobalOpt] Delete write-only constants with cast users Needs RevisionPublic Authored by jdoerfert on Apr 3 2021, 1:07 PM.
Details
Summary We handled constant bit/addrspace-casts and GEPs but no
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Apr 3 2021, 1:12 PM This revision now requires review to proceed.Jan 12 2023, 5:42 PM arsenm added inline comments. This revision now requires changes to proceed.Aug 17 2023, 4:07 PM
Revision Contents
Diff 335104 llvm/lib/Transforms/IPO/GlobalOpt.cpp
llvm/test/Transforms/GlobalOpt/writeonly-internal-bitcast.ll
|
This is less useful with pointer bitcasts effectively gone. Is this still interesting if restricted to addrspacecast?