diff options
author | Hal Finkel <hfinkel@anl.gov> | 2012-06-08 15:38:23 +0000 |
---|---|---|
committer | Hal Finkel <hfinkel@anl.gov> | 2012-06-08 15:38:23 +0000 |
commit | 8b01503ee56bca3dcc237b48f8e99145a9bdd2a1 (patch) | |
tree | dd6e91c93b54187ecd9325c56e4e1a3a18f16ece /clang/lib/Basic/SourceManager.cpp | |
parent | 96c2d4d945d053804c7dc0749bab81114dfdf809 (diff) | |
download | bcm5719-llvm-8b01503ee56bca3dcc237b48f8e99145a9bdd2a1.tar.gz bcm5719-llvm-8b01503ee56bca3dcc237b48f8e99145a9bdd2a1.zip |
Fix a bug in the new PPC CTR-Loops pass.
The code which tests for an induction operation cannot assume that any
ADDI instruction will have a register operand because the operand could
also be a frame index; for example:
%vreg16<def> = ADDI8 <fi#0>, 0; G8RC:%vreg16
llvm-svn: 158205
Diffstat (limited to 'clang/lib/Basic/SourceManager.cpp')
0 files changed, 0 insertions, 0 deletions