HomePhabricator

[[GlobalISel][IRTranslator] Fix a crash when the use of an extractvalue is a…

Authored by aemerson on Dec 12 2020, 2:57 PM.

Description

[[GlobalISel][IRTranslator] Fix a crash when the use of an extractvalue is a non-dominated metadata use.

We don't expect uses to come before defs in the CFG, so allocateVRegs() asserted.

Fixes PR48211

Details

Committed
aemersonDec 12 2020, 2:58 PM
Parents
rGd38205144feb: [SimplifyCFG] FoldBranchToCommonDest(): bonus instrns must only be used by PHI…
Branches
Unknown
Tags
Unknown