aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/Utils/UnifyFunctionExitNodes.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-05-08 20:51:54 +0000
committerChris Lattner <sabre@nondot.org>2006-05-08 20:51:54 +0000
commita850446a0be73ceb9ac1b312bffb1e06d7e40d99 (patch)
tree165a6c812dd0f482c78c0c478d5beaf7481eca62 /lib/Transforms/Utils/UnifyFunctionExitNodes.cpp
parentfcf64a91d65ece1168c2108271c4b2c7e4271e5e (diff)
Compile this:
short test4(unsigned X) { return (X >> 16); } to: _test4: movl 4(%esp), %eax sarl $16, %eax ret instead of: _test4: movl $-65536, %eax andl 4(%esp), %eax sarl $16, %eax ret git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28171 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Utils/UnifyFunctionExitNodes.cpp')
0 files changed, 0 insertions, 0 deletions