[all-commits] [llvm/llvm-project] 1cc477: [SimplifyCFG] Add test for PR48778 (NFC)
Nikita Popov via All-commits
all-commits at lists.llvm.org
Sun Jan 17 11:11:27 PST 2021
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 1cc477f030bdeb6de98c6bde89fa7850630def24
https://github.com/llvm/llvm-project/commit/1cc477f030bdeb6de98c6bde89fa7850630def24
Author: Nikita Popov <nikita.ppv at gmail.com>
Date: 2021-01-17 (Sun, 17 Jan 2021)
Changed paths:
A llvm/test/Transforms/SimplifyCFG/pr48778-sdiv-speculation.ll
Log Message:
-----------
[SimplifyCFG] Add test for PR48778 (NFC)
The sdiv is incorrectly speculated.
Commit: 4229b87ed36cf20b95b363393452aa4815e344e2
https://github.com/llvm/llvm-project/commit/4229b87ed36cf20b95b363393452aa4815e344e2
Author: Nikita Popov <nikita.ppv at gmail.com>
Date: 2021-01-17 (Sun, 17 Jan 2021)
Changed paths:
M llvm/lib/Analysis/ValueTracking.cpp
M llvm/test/Transforms/SimplifyCFG/pr48778-sdiv-speculation.ll
Log Message:
-----------
[ValueTracking] Fix isSafeToSpeculativelyExecute for sdiv (PR48778)
The != -1 check does not work correctly for all bitwidths. Use
isAllOnesValue() instead.
Compare: https://github.com/llvm/llvm-project/compare/9a7fb0848771...4229b87ed36c
More information about the All-commits
mailing list