[llvm-bugs] [Bug 32873] New: .arch/.cpu without extra features is ignored
llvm-bugs at lists.llvm.org
Mon May 1 17:37:42 PDT 2017
Bug ID: 32873
Summary: .arch/.cpu without extra features is ignored
Component: Backend: AArch64
Assignee: unassignedbugs at nondot.org
Reporter: ahmed.bougacha at gmail.com
CC: llvm-bugs at lists.llvm.org
"Specifying .arch clears any previously selected architecture extensions."
And yet, this is accepted:
But this is rejected:
error: instruction requires: ras
Even though they look semantically identical to me.
The logic in parseDirectiveCpu/parseDirectiveArch only ever calls
setAvailableFeatures if there was an extra "+feature" specified.
Should it also do it unconditionally on the default arch/cpu features?
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-bugs