HomePhabricator

[X86] Fix a dangling StringRef issue introduced in r358029.

Description

[X86] Fix a dangling StringRef issue introduced in r358029.

I was attempting to convert mnemonics to lower case after processing a pseudo prefix. But the ParseOperands just hold a StringRef for tokens so there is no where to allocate the memory.

Add FIXMEs for the lower case issue which also exists in the prefix parsing code.

Details

Committed
ctopperApr 9 2019, 2:37 PM
Parents
rL358035: [AArch64][GlobalISel] Add isel support for vector G_ICMP and G_ASHR & G_SHL
Branches
Unknown
Tags
Unknown