This is an archive of the discontinued LLVM Phabricator instance.

[clang][ARM] Remove non-existent arm1136jz-s CPU
ClosedPublic

Authored by DavidSpickett on May 24 2021, 6:42 AM.

Details

Summary

There is an ARM1136JF-S and an ARM1136J-S but I could find
no references to an ARM1136JZ-S. In CPU manuals or the manual
for Arm Compiler 5.

See:
https://developer.arm.com/documentation/ddi0211/latest/
https://developer.arm.com/documentation/dui0472/latest/

Using this CPU you get:
$ ./bin/clang --target=arm-linux-gnueabihf -march=armv3m -mcpu=arm1136jz-s -c /tmp/test.c -o /tmp/test.o
'arm1136jz-s' is not a recognized processor for this target (ignoring processor)

Since the llvm target does not know what it is.

This is part of fixing https://bugs.llvm.org/show_bug.cgi?id=50454.

Diff Detail

Event Timeline

DavidSpickett created this revision.May 24 2021, 6:42 AM
DavidSpickett requested review of this revision.May 24 2021, 6:42 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 24 2021, 6:42 AM
DavidSpickett edited the summary of this revision. (Show Details)May 24 2021, 6:47 AM
peter.smith accepted this revision.May 24 2021, 8:45 AM

I can confirm that 1136jz-s does not exist. The Z stands for Trustzone and was only implemented in the 1176 range.

This revision is now accepted and ready to land.May 24 2021, 8:45 AM
This revision was automatically updated to reflect the committed changes.