[llvm-dev] IR canonicalization: select or bool math? (original) (raw)

Sanjoy Das via llvm-dev llvm-dev at lists.llvm.org
Wed Sep 28 22:12:43 PDT 2016


My gut tells me that Hal is right, and we should prefer zexts as long as the select boils down to one instruction, but let me go against my intuition and try to list two reasons why we should prefer selects:

-- Sanjoy



More information about the llvm-dev mailing list