Skip to content
Commit 917a6c13 authored by Chris Lattner's avatar Chris Lattner
Browse files

rewrite bswap matching to be more general, allowing arbitrary

shifting and masking inside a bswap expr.  This allows it to handle
the cases from PR2842, which involve the intermediate 'or' 
expressions being shifted, not just the input value.

llvm-svn: 57095
parent 0af89ff0
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