[all-commits] [llvm/llvm-project] ea27d8: [X86] isFNEG - use switch() instead of if-else tre...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Fri Nov 1 10:19:02 PDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: ea27d82814213f292add33e8b41c42f1a81044d2
      https://github.com/llvm/llvm-project/commit/ea27d82814213f292add33e8b41c42f1a81044d2
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2019-11-01 (Fri, 01 Nov 2019)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp

  Log Message:
  -----------
  [X86] isFNEG - use switch() instead of if-else tree. NFCI.

In a future patch this will avoid some checks which don't need to be done for some opcodes.




More information about the All-commits mailing list