HomePhabricator

Recommit "[GlobalISel] Import patterns containing INSERT_SUBREG"

Authored by paquette on Aug 27 2019, 10:47 AM.

Description

Recommit "[GlobalISel] Import patterns containing INSERT_SUBREG"

I thought llvm::sort was stable for some reason but it's not.

Use llvm::stable_sort in CodeGenTarget::getSuperRegForSubReg.

Original patch: https://reviews.llvm.org/D66498

llvm-svn: 370084

Details