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

teach tblgen to allow patterns like (add (i32 (bitconvert (i32 GPR))), 4),

transforming it into (add (i32 GPR), 4).  This allows us to write type
generic multi patterns and have tblgen automatically drop the bitconvert
in the case when the types align.  This allows us to fold an extra load
in the changed testcase.

llvm-svn: 99756
parent 240154e6
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