summaryrefslogtreecommitdiffstats
path: root/clang/lib/Basic/Targets.cpp
diff options
context:
space:
mode:
authorHal Finkel <hfinkel@anl.gov>2015-08-30 07:44:05 +0000
committerHal Finkel <hfinkel@anl.gov>2015-08-30 07:44:05 +0000
commitd2fd9becf4f1d714d39855e1bf797634bb18f383 (patch)
tree367e36cb01b673eec9bb7ffee01d1004546a7ecf /clang/lib/Basic/Targets.cpp
parenta59fcfa56b5299b82183ae2613892df1bf13d0f6 (diff)
downloadbcm5719-llvm-d2fd9becf4f1d714d39855e1bf797634bb18f383.tar.gz
bcm5719-llvm-d2fd9becf4f1d714d39855e1bf797634bb18f383.zip
[PowerPC] Don't assume ADDISdtprelHA's source is r3
Even through ADDISdtprelHA generally has r3 as its source register, it is possible for the instruction scheduler to move things around such that some other register is the source. We need to print the actual source register, not always r3. Fixes PR24394. The test case will come in a follow-up commit because it depends on MIR target-flags parsing. llvm-svn: 246372
Diffstat (limited to 'clang/lib/Basic/Targets.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud