[PATCH] D26803: Fix known zero bits for addrspacecast
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 17 11:07:12 PST 2016
arsenm added inline comments.
================
Comment at: lib/Analysis/ValueTracking.cpp:1028-1029
case Instruction::IntToPtr:
case Instruction::AddrSpaceCast: // Pointers could be different sizes.
// Fall through and handle them the same as zext/trunc.
LLVM_FALLTHROUGH;
----------------
AddrSpaceCast should probably just be removed from the switch
https://reviews.llvm.org/D26803
More information about the llvm-commits
mailing list