[all-commits] [llvm/llvm-project] 5c80a4: [LegalizeTypes] Remove unnecessary if before calli...

topperc via All-commits all-commits at lists.llvm.org
Fri Dec 13 00:14:48 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 5c80a4f454ac6dad09e5c27f32a28af62cdb4d13
      https://github.com/llvm/llvm-project/commit/5c80a4f454ac6dad09e5c27f32a28af62cdb4d13
  Author: Craig Topper <craig.topper at gmail.com>
  Date:   2019-12-13 (Fri, 13 Dec 2019)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp

  Log Message:
  -----------
  [LegalizeTypes] Remove unnecessary if before calling ReplaceValueWith on the chain in SoftenFloatRes_LOAD.

I believe this is a leftover from when fp128 was softened to fp128
on X86-64. In that case type legalization must have been able to
create a load that was the same as N which would make this
replacement fail or assert. Since we no longer do that, this
check should be unneeded.




More information about the All-commits mailing list