Hi Logan,

  Very sorry for the delay, I decided I needed to think about it a little and 
never quite got around to it. I've got one question:


================
Comment at: lib/CodeGen/CGAtomic.cpp:479-480
@@ -478,2 +478,4 @@
     std::string LibCallName;
+    QualType LoweredMemTy =
+      MemTy->isPointerType() ? getContext().getIntPtrType() : MemTy;
     QualType RetTy;
----------------
Doesn't this assume that sizeof(int *) == sizeof(int)?


http://llvm-reviews.chandlerc.com/D3006
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to