[all-commits] [llvm/llvm-project] 7767f0: [InstCombine] Add test for #95547 (NFC)
Nikita Popov via All-commits
all-commits at lists.llvm.org
Mon Jun 17 06:39:26 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7767f0d47428db66d65b07b35aa52f0507df71f9
https://github.com/llvm/llvm-project/commit/7767f0d47428db66d65b07b35aa52f0507df71f9
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M llvm/test/Transforms/InstCombine/trunc.ll
Log Message:
-----------
[InstCombine] Add test for #95547 (NFC)
Commit: 534f8569a3c9fccfd5cbc5f632b63ad0cf711098
https://github.com/llvm/llvm-project/commit/534f8569a3c9fccfd5cbc5f632b63ad0cf711098
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
M llvm/test/Transforms/InstCombine/trunc.ll
Log Message:
-----------
[InstCombine] Don't preserve context across div
We can't preserve the context across a non-speculatable instruction,
as this might introduce a trap. Alternatively, we could also
insert all the replacement instruction at the use-site, but that
would be a more intrusive change for the sake of this edge case.
Fixes https://github.com/llvm/llvm-project/issues/95547.
Compare: https://github.com/llvm/llvm-project/compare/b75e7c61ffc4...534f8569a3c9
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