This is an archive of the discontinued LLVM Phabricator instance.

GlobalISel: Always check operand types when executing match table
ClosedPublic

Authored by volkan on Feb 6 2018, 2:10 PM.

Details

Summary

Some of the commands tries to get the register without checking
if the specified operands is a register and causing crash. All commands
should check the type of the operand first and reject if the type is
not expected.

Diff Detail

Repository
rL LLVM

Event Timeline

volkan created this revision.Feb 6 2018, 2:10 PM
qcolombet accepted this revision.Feb 6 2018, 4:42 PM
qcolombet added a subscriber: qcolombet.

LGTM

This revision is now accepted and ready to land.Feb 6 2018, 4:42 PM
This revision was automatically updated to reflect the committed changes.