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

When folding loads into ops, immediately replace uses of the op with the

load.  This reduces number of worklist iterations and avoid missing optimizations
depending on folding of things into sext_inreg nodes (which aren't supported by
all targets).
Tested by Regression/CodeGen/X86/extend.ll:test2

llvm-svn: 24712
parent eaee560c
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