[Attributor][FIX] Ensure we adjust types properly
When we simplify loads we need to adjust types (esp. null-values) properly to avoid inconsinstencies down the line. Add a cast and an error message. Fixes: https://github.com/llvm/llvm-project/issues/60788
Loading
Please sign in to comment