[CodeGenPrepare] Move CodeGenPrepare into lib/CodeGen.

Description

[CodeGenPrepare] Move CodeGenPrepare into lib/CodeGen.

CodeGenPrepare uses extensively TargetLowering which is part of libLLVMCodeGen.
This is a layer violation which would introduce eventually a dependence on
CodeGen in ScalarOpts.

Move CodeGenPrepare into libLLVMCodeGen to avoid that.

Follow-up of rdar://problem/15519855

Details

Committed
qcolombetFeb 21 2014, 4:07 PM
Parents
rL201911: [ObjC] Make attribute 'objc_protocol_requires_explicit_implementation' behave…
Branches
Unknown
Tags
Unknown