[PATCH] D14064: Convert Returned Constant i1 Values to i32 on PPC64

Thomas Jablin via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 12 17:53:41 PST 2015


tjablin updated this revision to Diff 40101.
tjablin added a comment.

Expand comments to discuss the performance benefits, the limitations of the current implementation, and how these limitations could be addressed in the future. Also, add support for promoting i1 Arguments to i32 when it makes sense.


http://reviews.llvm.org/D14064

Files:
  include/llvm/InitializePasses.h
  include/llvm/LinkAllPasses.h
  include/llvm/Transforms/Scalar.h
  lib/Target/PowerPC/PPCTargetMachine.cpp
  lib/Transforms/Scalar/BoolRetToInt.cpp
  lib/Transforms/Scalar/CMakeLists.txt
  lib/Transforms/Scalar/Scalar.cpp
  test/Transforms/BoolRetToInt/BoolRetToIntTest.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14064.40101.patch
Type: text/x-patch
Size: 18988 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151113/a8f703b7/attachment.bin>


More information about the llvm-commits mailing list