[PATCH] D50339: Consistently use MemoryLocation::UnknownSize to indicate unknown access size

Krzysztof Parzyszek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 6 10:11:32 PDT 2018


kparzysz created this revision.
kparzysz added a reviewer: MatzeB.
Herald added a subscriber: jfb.

1. Change the software pipeliner to use unknown size instead of dropping memory operands. It used to do it before, but MachineInstr::mayAlias did not handle it correctly.
2. Recognize UnknownSize in MachineInstr::mayAlias.
3. Print and parse UnknownSize in MIR.


Repository:
  rL LLVM

https://reviews.llvm.org/D50339

Files:
  lib/CodeGen/MIRParser/MILexer.cpp
  lib/CodeGen/MIRParser/MILexer.h
  lib/CodeGen/MIRParser/MIParser.cpp
  lib/CodeGen/MachineInstr.cpp
  lib/CodeGen/MachineOperand.cpp
  lib/CodeGen/MachinePipeliner.cpp
  test/CodeGen/MIR/X86/expected-size-integer-after-memory-operation.mir
  test/CodeGen/MIR/X86/expected-size-integer-after-memory-operation2.mir
  test/CodeGen/MIR/X86/memory-operands.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D50339.159329.patch
Type: text/x-patch
Size: 8895 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180806/d97adc53/attachment.bin>


More information about the llvm-commits mailing list