[all-commits] [llvm/llvm-project] fceaff: [ValueTracking] computeKnownBitsFromShiftOperator ...
Simon Pilgrim via All-commits
all-commits at lists.llvm.org
Thu Nov 19 05:56:31 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: fceaff41d6b7048768294dbe436fb3016fd29fc1
https://github.com/llvm/llvm-project/commit/fceaff41d6b7048768294dbe436fb3016fd29fc1
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2020-11-19 (Thu, 19 Nov 2020)
Changed paths:
M llvm/lib/Analysis/ValueTracking.cpp
Log Message:
-----------
[ValueTracking] computeKnownBitsFromShiftOperator - move shift amount analysis to top of the function. NFCI.
These are all lightweight to compute and helps avoid issues with Known being used to hold both the shift amount and then the shifted result.
Minor cleanup for D90479.
More information about the All-commits
mailing list