aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2020-04-13 10:14:07 -0400
committerMatt Arsenault <Matthew.Arsenault@amd.com>2020-04-13 11:48:45 -0700
commitdc89a3efb43feedec04facfa2206de011d2606e7 (patch)
tree7294f84401361d668bcec85f4cfd79475631cb5a /llvm/lib/CodeGen/MachineFunction.cpp
parent0d4ec16d3db3a92514e14101f635e8536c208c4f (diff)
downloadllvm-dc89a3efb43feedec04facfa2206de011d2606e7.zip
llvm-dc89a3efb43feedec04facfa2206de011d2606e7.tar.gz
llvm-dc89a3efb43feedec04facfa2206de011d2606e7.tar.bz2
HIP: Fix handling of denormal mode
I didn't realize HIP was a distinct offloading kind, so the subtarget was looking for -march, which isn't correct for HIP. We also have the possibility of different denormal defaults in the case of multiple offload targets, so we need to thread the JobAction through the target hook.
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions