[ValueTracking] Correctly check addrspace of alloca
The DataLayout alloca address space is the address space that should be used when creating new allocas. However, not all allocas are required to be in this address space. The isKnownNonZero() check should work on the actual address space of the alloca, not the default alloca address space.
parent
63342ae4
Please register or sign in to comment