diff options
| author | Craig Topper <craig.topper@intel.com> | 2018-06-21 23:39:47 +0000 |
|---|---|---|
| committer | Craig Topper <craig.topper@intel.com> | 2018-06-21 23:39:47 +0000 |
| commit | 342b095689e4a6ba61eb4fc03b1985c22989b00d (patch) | |
| tree | 29aef0947bcc40f93772c7ed4f02f821ef355667 /clang/lib/Sema | |
| parent | 3f1c6fe156a8a1a3b17d008014af8938657fe466 (diff) | |
| download | bcm5719-llvm-342b095689e4a6ba61eb4fc03b1985c22989b00d.tar.gz bcm5719-llvm-342b095689e4a6ba61eb4fc03b1985c22989b00d.zip | |
[X86] Update handling in CGBuiltin to be tolerant of out of range immediates.
D48464 contains changes that will loosen some of the range checks in SemaChecking to a DefaultError warning that can be disabled.
This patch adds explicit masking to avoid using the upper bits of immediates to gracefully handle the warning being disabled.
llvm-svn: 335308
Diffstat (limited to 'clang/lib/Sema')
0 files changed, 0 insertions, 0 deletions

