HomePhabricator

[X86] Prevent folding stack reloads into instructions in hasUndefRegUpdate.

Authored by craig.topper on Jun 15 2018, 10:56 AM.

Description

[X86] Prevent folding stack reloads into instructions in hasUndefRegUpdate.

An earlier commit prevented folds from the peephole pass by checking for IMPLICIT_DEF. But later in the pipeline IMPLICIT_DEF just becomes and Undef flag on the input register so we need to check for that case too.

llvm-svn: 334848

Details

Committed
craig.topperJun 15 2018, 10:56 AM
Parents
rG4217d170aa69: [X86] __builtin_ia32_prord512_mask, __builtin_ia32_prorq512_maskā€¦
Branches
Unknown
Tags
Unknown