[all-commits] [llvm/llvm-project] 89d48c: AMDGPU: Fix not emitting nofpexcept on fdiv expansion

Matt Arsenault via All-commits all-commits at lists.llvm.org
Mon Jun 1 11:11:16 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 89d48ccabe6a950369b2bd922b1d8e987b856ac7
      https://github.com/llvm/llvm-project/commit/89d48ccabe6a950369b2bd922b1d8e987b856ac7
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2020-06-01 (Mon, 01 Jun 2020)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIISelLowering.cpp

  Log Message:
  -----------
  AMDGPU: Fix not emitting nofpexcept on fdiv expansion

In this awkward case, we have to emit custom pseudo-constrained FP
wrappers. InstrEmitter concludes that since a mayRaiseFPException
instruction had a chain, it can't add nofpexcept.

Test deferred until mayRaiseFPException is really set on everything.




More information about the All-commits mailing list