[all-commits] [llvm/llvm-project] 6f619c: [InstSimplify] Only handle canonical forms in `sim...
Yingwei Zheng via All-commits
all-commits at lists.llvm.org
Tue Jul 9 21:59:51 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6f619c98aea164f46b5e086d445d62d697ab3b39
https://github.com/llvm/llvm-project/commit/6f619c98aea164f46b5e086d445d62d697ab3b39
Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
Date: 2024-07-10 (Wed, 10 Jul 2024)
Changed paths:
M llvm/lib/Analysis/InstructionSimplify.cpp
M llvm/test/Transforms/InstSimplify/logic-of-fcmps.ll
Log Message:
-----------
[InstSimplify] Only handle canonical forms in `simplifyAndOrOfFCmps`. NFC. (#98136)
This patch avoids calling `isKnownNeverNaN` in `simplifyAndOrOfFCmps`
since `fcmp ord/uno X, NNAN` will be canonicalized into `fcmp ord/uno X,
0.0` in InstCombine.
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