[PATCH] D70072: [ARM] Improve codegen of volatile load/store of i64

Victor Campos via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 11 03:58:51 PST 2019


vhscampos created this revision.
Herald added subscribers: llvm-commits, hiraditya, kristof.beyls.
Herald added a project: LLVM.

Instead of generating two i32 instructions for each load or store of a volatile
i64 value (two LDRs or STRs), now emit a single LDRD or STRD.

These improvements cover architectures implementing ARMv5TE or Thumb-2.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D70072

Files:
  llvm/lib/Target/ARM/ARMISelLowering.cpp
  llvm/lib/Target/ARM/ARMISelLowering.h
  llvm/test/CodeGen/ARM/i64_volatile_load_store.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D70072.228663.patch
Type: text/x-patch
Size: 6928 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191111/57d08bb8/attachment-0001.bin>


More information about the llvm-commits mailing list