| commit | 342b095689e4a6ba61eb4fc03b1985c22989b00d | [log] [tgz] |
|---|---|---|
| author | Craig Topper <craig.topper@intel.com> | Thu Jun 21 23:39:47 2018 +0000 |
| committer | Craig Topper <craig.topper@intel.com> | Thu Jun 21 23:39:47 2018 +0000 |
| tree | 29aef0947bcc40f93772c7ed4f02f821ef355667 | |
| parent | 3f1c6fe156a8a1a3b17d008014af8938657fe466 [diff] |
[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