diff options
author | Owen Anderson <resistor@mac.com> | 2012-07-09 20:31:12 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2012-07-09 20:31:12 +0000 |
commit | d9bf71fdd26475f4629ef8861debfd2c621a372f (patch) | |
tree | 6e797d4b8428dc76be7375412b7a1e74a103492f /lib/CodeGen/TargetInstrInfoImpl.cpp | |
parent | 6209364834a4c0ca720d3fcc9ef7fa4c1fb39ecc (diff) |
Teach the DAG combiner to turn sitofp/uitofp from i1 into a conditional move, since there are only two possible values.
Previously, this would become an integer extension operation, followed by a real integer->float conversion.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159957 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/TargetInstrInfoImpl.cpp')
0 files changed, 0 insertions, 0 deletions