[all-commits] [llvm/llvm-project] 3c3fc4: [InstCombine] Add nsw tests for A + -B fold (NFC)
Nikita Popov via All-commits
all-commits at lists.llvm.org
Fri Aug 16 07:33:38 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3c3fc4ce77da21214e1e20b8c42607b4dcdef5a7
https://github.com/llvm/llvm-project/commit/3c3fc4ce77da21214e1e20b8c42607b4dcdef5a7
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-08-16 (Fri, 16 Aug 2024)
Changed paths:
M llvm/test/Transforms/InstCombine/add.ll
Log Message:
-----------
[InstCombine] Add nsw tests for A + -B fold (NFC)
Commit: dd9a99f2b634d95072ae49ebcbe5598877de4985
https://github.com/llvm/llvm-project/commit/dd9a99f2b634d95072ae49ebcbe5598877de4985
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-08-16 (Fri, 16 Aug 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
M llvm/test/Transforms/InstCombine/add.ll
Log Message:
-----------
[InstCombine] Preserve nsw in A + -B fold
This was already done for -B + A, but not for A + -B.
Proof: https://alive2.llvm.org/ce/z/F3V2yZ
Compare: https://github.com/llvm/llvm-project/compare/14d57e21e1cc...dd9a99f2b634
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