diff options
author | Craig Topper <craig.topper@intel.com> | 2019-12-18 10:41:34 -0800 |
---|---|---|
committer | Craig Topper <craig.topper@intel.com> | 2019-12-18 10:44:28 -0800 |
commit | cfe316007fb8492535d697717c24ce72621a8d5e (patch) | |
tree | 0c73cbbc9fabf693a0685b6f8fe6e9f8c3ba07f4 /llvm/docs/CommandGuide/llvm-cxxmap.rst | |
parent | ec3d6f3ecb4ef3cef2d46d6d2b2b7dced35e8297 (diff) | |
download | llvm-cfe316007fb8492535d697717c24ce72621a8d5e.zip llvm-cfe316007fb8492535d697717c24ce72621a8d5e.tar.gz llvm-cfe316007fb8492535d697717c24ce72621a8d5e.tar.bz2 |
[SelectionDAGBuilder] Use getConstant instead of getTargetConstant to build the offset for struct types in getUniformBase.
getTargetConstant prevents any optimizations from operating on the
value and basically says its already been iseled. But since we
want the index to be in a register, this isn't true.
Prior to this we were generating a vbroadcast with an immediate
argument which is illegal and was flagged by the expensive checks
bot.
Diffstat (limited to 'llvm/docs/CommandGuide/llvm-cxxmap.rst')
0 files changed, 0 insertions, 0 deletions