Use the target options specified on a function to reset the back-end.
authorBill Wendling <isanbard@gmail.com>
Fri, 5 Apr 2013 21:52:40 +0000 (21:52 +0000)
committerBill Wendling <isanbard@gmail.com>
Fri, 5 Apr 2013 21:52:40 +0000 (21:52 +0000)
commiteb108bad50bb5198867544b773bd55c44cb3d2fe
tree972b5063a7ab42aced3e86d743b52da988629fd6
parent81c46d0809b3734d8ecc1a8969c9f071d6439632
Use the target options specified on a function to reset the back-end.

During LTO, the target options on functions within the same Module may
change. This would necessitate resetting some of the back-end. Do this for X86,
because it's a Friday afternoon.

llvm-svn: 178917
llvm/include/llvm/Target/TargetLowering.h
llvm/include/llvm/Target/TargetOptions.h
llvm/lib/CodeGen/TargetLoweringBase.cpp
llvm/lib/CodeGen/TargetOptionsImpl.cpp
llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/lib/Target/X86/X86ISelLowering.h