[all-commits] [llvm/llvm-project] b845f0: [ValueTracking] Fix computeKnownFPClass for fpext ...

Yingwei Zheng via All-commits all-commits at lists.llvm.org
Mon Feb 19 16:38:05 PST 2024


  Branch: refs/heads/release/18.x
  Home:   https://github.com/llvm/llvm-project
  Commit: b845f0662a287912332c89e56f5900037aa7c70f
      https://github.com/llvm/llvm-project/commit/b845f0662a287912332c89e56f5900037aa7c70f
  Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
  Date:   2024-02-19 (Mon, 19 Feb 2024)

  Changed paths:
    M llvm/lib/Analysis/ValueTracking.cpp
    M llvm/test/Transforms/Attributor/nofpclass-fpext.ll
    A llvm/test/Transforms/InstCombine/pr80941.ll

  Log Message:
  -----------
  [ValueTracking] Fix computeKnownFPClass for fpext (#81972)

This patch adds the missing `subnormal -> normal` part for `fpext` in
`computeKnownFPClass`.
Fixes the miscompilation reported by
https://github.com/llvm/llvm-project/pull/80941#issuecomment-1947302100.

(cherry picked from commit a5865c3c3dbbd17ae12ecc1c297fe1fc2605df52)



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list