[llvm] InstCombine: Process addrspacecast uses in PointerReplacer (PR #91953)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Mon May 13 07:16:19 PDT 2024


================
@@ -429,9 +429,13 @@ entry:
 
 declare i8 @readonly_callee(ptr readonly nocapture)
 
+; FIXME: This should be able to fold to call i8 @readonly_callee(ptr nonnull @g1)
 define i8 @call_readonly_remove_alloca() {
----------------
arsenm wrote:

The name still expresses the intent of the test, not the actual result so I don't think it makes sense to change it 

https://github.com/llvm/llvm-project/pull/91953


More information about the llvm-commits mailing list