HomePhabricator

[llvm-reduce] Skip replacing metadata and callee operands

Authored by aeubanks on Nov 9 2021, 5:47 PM.

Description

[llvm-reduce] Skip replacing metadata and callee operands

Metadata operands tend to require special conditions, especially on dbg
intrinsics. We also don't have a zero value for metadata.

Replacing callee operands is a little weird, since calling undef/null
doesn't make sense. It also causes tons of invalid reductions when
reducing calls to intrinsics since only arguments to intrinsics can be
of the metadata type.

Reviewed By: Meinersbur

Differential Revision: https://reviews.llvm.org/D113532

Details

Committed
aeubanksNov 11 2021, 6:42 PM
Reviewer
Meinersbur
Differential Revision
D113532: [llvm-reduce] Skip replacing metadata and callee operands
Parents
rG463ee15e33c0: [gn build] Fix Android compiler-rt targets
Branches
Unknown
Tags
Unknown