add_llvm_library(LLVMScalarOpts
  ADCE.cpp
  BasicBlockPlacement.cpp
  CodeGenLICM.cpp
  CodeGenPrepare.cpp
  CondPropagate.cpp
  ConstantProp.cpp
  DCE.cpp
  DeadStoreElimination.cpp
  GVN.cpp
  GVNPRE.cpp
  IndVarSimplify.cpp
  InstructionCombining.cpp
  JumpThreading.cpp
  LICM.cpp
  LoopDeletion.cpp
  LoopIndexSplit.cpp
  LoopRotation.cpp
  LoopStrengthReduce.cpp
  LoopUnroll.cpp
  LoopUnswitch.cpp
  MemCpyOptimizer.cpp
  PredicateSimplifier.cpp
  Reassociate.cpp
  Reg2Mem.cpp
  SCCP.cpp
  Scalar.cpp
  ScalarReplAggregates.cpp
  SimplifyCFGPass.cpp
  SimplifyHalfPowrLibCalls.cpp
  SimplifyLibCalls.cpp
  TailDuplication.cpp
  TailRecursionElimination.cpp
  )

target_link_libraries (LLVMScalarOpts LLVMTransformUtils)

add_llvm_library(LLVMScalarOpts
  ADCE.cpp
  BasicBlockPlacement.cpp
  CodeGenLICM.cpp
  CodeGenPrepare.cpp
  CondPropagate.cpp
  ConstantProp.cpp
  DCE.cpp
  DeadStoreElimination.cpp
  GVN.cpp
  IndVarSimplify.cpp
  InstructionCombining.cpp
  JumpThreading.cpp
  LICM.cpp
  LoopDeletion.cpp
  LoopIndexSplit.cpp
  LoopRotation.cpp
  LoopStrengthReduce.cpp
  LoopUnroll.cpp
  LoopUnswitch.cpp
  MemCpyOptimizer.cpp
  PredicateSimplifier.cpp
  Reassociate.cpp
  Reg2Mem.cpp
  SCCP.cpp
  Scalar.cpp
  ScalarReplAggregates.cpp
  SimplifyCFGPass.cpp
  SimplifyHalfPowrLibCalls.cpp
  SimplifyLibCalls.cpp
  TailDuplication.cpp
  TailRecursionElimination.cpp
  )

target_link_libraries (LLVMScalarOpts LLVMTransformUtils)

Remove GVNPRE.cpp from the CMake makefile
Remove GVNPRE.cpp from the CMake makefile

git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@83194 91177308-0d34-0410-b5e6-96231b3b80d8
