summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorAhmed Bougacha <ahmed.bougacha@gmail.com>2015-09-10 01:54:43 +0000
committerAhmed Bougacha <ahmed.bougacha@gmail.com>2015-09-10 01:54:43 +0000
commit05541459fa1388759c697c0d53380f1505e649a4 (patch)
treef69049e855bef96bff0945c85daa780fac5dcbb1 /clang/lib/CodeGen/CodeGenModule.cpp
parentddedd7255ac2796fcf5baa1f0c236cb55069dd06 (diff)
downloadbcm5719-llvm-05541459fa1388759c697c0d53380f1505e649a4.tar.gz
bcm5719-llvm-05541459fa1388759c697c0d53380f1505e649a4.zip
[AArch64] Match FI+offset in STNP addressing mode.
First, we need to teach isFrameOffsetLegal about STNP. It already knew about the STP/LDP variants, but those were probably never exercised, because it's only the load/store optimizer that generates STP/LDP, and the only user of the method is frame lowering, which runs earlier. The STP/LDP cases were wrong: they didn't take into account the fact that they return two results, not one, so the immediate offset will be the 4th operand, not the 3rd. Follow-up to r247234. llvm-svn: 247236
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud