llvm-project/llvm/test
Dylan McKay 77364be497 [AVR] Fix codegen bug in 16-bit loads
Prior to this patch, the AVR::LDWRdPtr instruction was always lowered to
instructions of this pattern:

    ld  $GPR8, [PTR:XYZ]+
    ld  $GPR8, [PTR]+1

This has a problem; the [PTR] is incremented in-place once, but never
decremented.

Future uses of the same pointer will use the now clobbered value,
leading to the pointer being incorrect by an offset of one.

This patch modifies the expansion code of the LDWRdPtr pseudo
instruction so that the pointer variable is not silently clobbered in
future uses in the same live range.

Patch by Keshav Kini.

llvm-svn: 351544
2019-01-18 11:27:38 +00:00
..
Analysis Reapply "[CodeGen][X86] Expand USUBSAT to UMAX+SUB, also for vectors" 2019-01-15 18:43:41 +00:00
Assembler Revert "[ThinLTO] Add summary entries for index-based WPD" 2019-01-17 16:05:04 +00:00
Bindings
Bitcode Allow FP types for atomicrmw xchg 2019-01-17 10:49:01 +00:00
BugPoint Python compat - print statement 2019-01-03 14:11:33 +00:00
CodeGen [AVR] Fix codegen bug in 16-bit loads 2019-01-18 11:27:38 +00:00
DebugInfo [Test] Fix debug-loc-0.mir with EXPENSIVE_CHECKS 2019-01-17 18:35:14 +00:00
Demangle [llvm-undname] Add support for demangling msvc's noexcept types. 2019-01-08 21:05:51 +00:00
Examples
ExecutionEngine Implement IMAGE_REL_AMD64_SECREL for RuntimeDyldCOFFX86_64 2018-12-12 00:04:06 +00:00
Feature
FileCheck Fix defines.txt 2019-01-14 10:10:48 +00:00
Instrumentation [MSan] Apply the ctor creation scheme of TSan 2019-01-16 11:14:07 +00:00
Integer
JitListener
LTO [LTO] Record whether LTOUnit splitting is enabled in index 2019-01-11 18:31:57 +00:00
Linker Remove irrelevant references to legacy git repositories from 2019-01-15 16:18:52 +00:00
MC [AVR] Fix the inst-cbr test 2019-01-18 10:11:33 +00:00
Object [WebAssembly] Fixing 2 more symbol offset related tests. 2019-01-17 19:18:05 +00:00
ObjectYAML [WebAssembly] Parse llvm.ident into producers section 2019-01-17 02:29:55 +00:00
Other [PGO] Make pgo related options in opt more consistent. 2019-01-16 23:19:02 +00:00
SafepointIRVerifier
SymbolRewriter
TableGen [tblgen][disasm] Emit record names again when decoder conflicts occur. 2019-01-03 00:14:33 +00:00
ThinLTO/X86 Revert "[ThinLTO] Add summary entries for index-based WPD" 2019-01-17 16:05:04 +00:00
Transforms [HotColdSplit] Allow outlining with live outputs 2019-01-17 22:36:05 +00:00
Unit [test] Fix propagating HOME envvar to unittests 2018-12-31 13:48:12 +00:00
Verifier [Verifier] Reject invalid type for DILocalVariable. 2019-01-07 23:09:09 +00:00
YAMLParser
tools [WebAssembly] Fixing 2 more symbol offset related tests. 2019-01-17 19:18:05 +00:00
.clang-format
CMakeLists.txt [elfabi] Introduce tool for ELF TextAPI 2019-01-03 18:32:36 +00:00
TestRunner.sh
lit.cfg.py mac: Correctly disable tools/lto tests when building with LLVM_ENABLE_PIC=OFF 2019-01-18 03:36:04 +00:00
lit.site.cfg.py.in mac: Correctly disable tools/lto tests when building with LLVM_ENABLE_PIC=OFF 2019-01-18 03:36:04 +00:00