[PATCH] D57473: Lower widenable_conditions in CGP

Philip Reames via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 30 14:11:13 PST 2019


reames created this revision.
reames added reviewers: mkazantsev, anna, skatkov.
Herald added subscribers: bollu, mcrosier.

This ensures that if we make it to the backend w/o lowering widenable_conditions first, that we generate correct code.  Doing it in CGP - instead of isel - let's us fold control flow before hitting block local instruction selection.


https://reviews.llvm.org/D57473

Files:
  lib/CodeGen/CodeGenPrepare.cpp
  test/Transforms/CodeGenPrepare/widenable-condition.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D57473.184365.patch
Type: text/x-patch
Size: 3651 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190130/733e6c78/attachment.bin>


More information about the llvm-commits mailing list