HomePhabricator

[X86ISelLowering] combineCMov - cleanup CMOV->LEA codegen. NFCI.

Authored by RKSimon on Aug 31 2019, 7:18 AM.

Description

[X86ISelLowering] combineCMov - cleanup CMOV->LEA codegen. NFCI.

Only compute the diff once and we don't need the truncation code (assert the bitwidth is correct just to be safe).

llvm-svn: 370583

Details

Committed
RKSimonAug 31 2019, 7:18 AM
Parents
rG7238353da242: [X86ISelLowering] LowerSELECT - remove duplicate value type. NFCI.
Branches
Unknown
Tags
Unknown