rjmccall added inline comments.

================
Comment at: lib/CodeGen/TargetInfo.cpp:7291
+  Address adjustAddrSpaceForAutoVar(Address A, const VarDecl *VD,
+      CodeGen::CodeGenFunction &CGF) const override;
 };
----------------
How about, instead of introducing a second method, we just change 
performAddrSpaceCast to take two AST address spaces and a flag indicating 
whether the address is known to be non-null?  Does your target have an 
AST-level address space for the stack?


https://reviews.llvm.org/D32248



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to