Skip to content
Commit 60e19a46 authored by Evan Cheng's avatar Evan Cheng
Browse files

- Teach CanEvaluateInDifferentType of this xform: sext (zext ty1), ty2 -> zext ty2

- Looking at the number of sign bits of the a sext instruction to determine  whether new trunc + sext pair should be added when its source is being evaluated in a different type.

llvm-svn: 62263
parent 91febd13
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment