[PATCH] Add address space argument to allowsUnalignedMemoryAccess.

Quentin Colombet qcolombet at apple.com
Thu Jan 23 14:14:36 PST 2014


  Hi Matt,

  This is looking good. There is just one little quirk that I mentioned in the inline comments.

  With this change, LGTM.

  Thanks,
  Quentin


================
Comment at: lib/Target/Mips/MipsSEISelLowering.h:34
@@ -34,1 +33,3 @@
+    virtual bool allowsUnalignedMemoryAccesses(EVT VT, unsigned AS = 0,
+                                               bool *Fast) const LLVM_OVERRIDE;
 
----------------
You’ll need to set the default value for Fast as well.


http://llvm-reviews.chandlerc.com/D2522



More information about the llvm-commits mailing list