[all-commits] [llvm/llvm-project] 0b46f1: [Support] Ensure KnownBits::sextInReg can handle t...
Simon Pilgrim via All-commits
all-commits at lists.llvm.org
Thu Jan 14 06:51:19 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0b46f19a9ecd6215cffb51d19f2403c18b0226f5
https://github.com/llvm/llvm-project/commit/0b46f19a9ecd6215cffb51d19f2403c18b0226f5
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2021-01-14 (Thu, 14 Jan 2021)
Changed paths:
M llvm/lib/Support/KnownBits.cpp
M llvm/unittests/Support/KnownBitsTest.cpp
Log Message:
-----------
[Support] Ensure KnownBits::sextInReg can handle the src == dst sext-in-reg case.
This was resulting in assertions inside APInt::zext that we were extending to the same bitwidth.
More information about the All-commits
mailing list