aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-objcopy/ELF/Object.cpp
diff options
context:
space:
mode:
authorPetar Avramovic <Petar.Avramovic@amd.com>2020-09-15 10:25:38 +0200
committerPetar Avramovic <Petar.Avramovic@amd.com>2020-09-15 10:26:09 +0200
commit9b4fa854343166dd88e4f2e135239bbf1ce0a16c (patch)
tree1a5e48ecec65be9dcce0e8a4008a580980e1e6a2 /llvm/tools/llvm-objcopy/ELF/Object.cpp
parent487412988cea99c94f2c58f8fa9eff34600fe684 (diff)
downloadllvm-9b4fa854343166dd88e4f2e135239bbf1ce0a16c.zip
llvm-9b4fa854343166dd88e4f2e135239bbf1ce0a16c.tar.gz
llvm-9b4fa854343166dd88e4f2e135239bbf1ce0a16c.tar.bz2
GlobalISel/IRTranslator resetTargetOptions based on function attributes
Update TargetMachine.Options with function attributes before we start to generate MIR instructions. This allows access to correct function attributes via TargetMachine.Options (it used to access attributes of the function that was translated first). This affects some existing tests with "no-nans-fp-math" attribute. Follow-up on D87456. Differential Revision: https://reviews.llvm.org/D87511
Diffstat (limited to 'llvm/tools/llvm-objcopy/ELF/Object.cpp')
0 files changed, 0 insertions, 0 deletions