]> granicus.if.org Git - llvm/commit
[X86ISelLowering] combineCMov - cleanup CMOV->LEA codegen. NFCI.
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Sat, 31 Aug 2019 14:18:26 +0000 (14:18 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Sat, 31 Aug 2019 14:18:26 +0000 (14:18 +0000)
commit9258262dad7c68c1c312b6b43acfb2fdc7fbc7d2
tree6d8d5c17834415a6bf83a9d6fe915c9ec9f1643e
parente93d496577f4c85bb0314f5abcd1dd0967927fa0
[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).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@370583 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp