This reverts commit 31ecf8d2. This reverts commit 3fdaa860. There is laying violation for Target->CodeGen.