diff options
author | Chris Lattner <sabre@nondot.org> | 2010-01-24 00:09:49 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-01-24 00:09:49 +0000 |
commit | abb992d6a3d2dc05d3f3c62a367ea8977a7dd070 (patch) | |
tree | b2498eacd1dbdae0230b2b4037063bca999a4ea9 /bindings/ocaml/llvm/llvm.ml | |
parent | eb38ebf15c326a5bb45ca9da6329cdf19ad6df95 (diff) | |
download | external_llvm-abb992d6a3d2dc05d3f3c62a367ea8977a7dd070.zip external_llvm-abb992d6a3d2dc05d3f3c62a367ea8977a7dd070.tar.gz external_llvm-abb992d6a3d2dc05d3f3c62a367ea8977a7dd070.tar.bz2 |
change the canonical form of "cond ? -1 : 0" to be
"sext cond" instead of a select. This simplifies some instcombine
code, matches the policy for zext (cond ? 1 : 0 -> zext), and allows
us to generate better code for a testcase on ppc.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94339 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'bindings/ocaml/llvm/llvm.ml')
0 files changed, 0 insertions, 0 deletions