Skip to content

[InstCombine] Optimize invalid addrspacecast to poison #126823

@justinfargnoli

Description

@justinfargnoli

I think a good follow up would be using InstCombiner::isValidAddrSpaceCast in InstCombine to convert invalid casts to poison, though there may be something I'm missing about the semantics here.

Originally posted by @AlexMaclean in #125607 (review)

Metadata

Metadata

Assignees

Labels

llvm:instcombineCovers the InstCombine, InstSimplify and AggressiveInstCombine passesquestionA question, not bug report. Check out https://llvm.org/docs/GettingInvolved.html instead!

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions