HomePhabricator

[X86] Update commutable EVEX vcmp patterns to use timm instead of imm.

Authored by craig.topper on Sun, Sep 22, 12:06 PM.

Description

[X86] Update commutable EVEX vcmp patterns to use timm instead of imm.

We need to match TargetConstant, not Constant. This was broken
in r372338, but we lacked test coverage.

llvm-svn: 372523

Details