Logo
Explore Help
Sign In
shylie/llvm-project
1
0
Fork 0
You've already forked llvm-project
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
llvm-project/llvm/test/Transforms/LowerSwitch
History
Peter Rong 9b70a28e0d [Transform] Rewrite LowerSwitch using APInt
This rewrite fixes https://github.com/llvm/llvm-project/issues/59316.

Previously LowerSwitch uses int64_t, which will crash on case branches using integers with more than 64 bits.
Using APInt fixes this problem. This patch also includes a test

Reviewed By: RKSimon

Differential Revision: https://reviews.llvm.org/D140747
2023-01-24 20:22:06 -08:00
..
2003-05-01-PHIProblem.ll
…
2003-08-23-EmptySwitch.ll
…
2004-03-13-SwitchIsDefaultCrash.ll
…
2014-06-10-SwitchContiguousOpt.ll
…
2014-06-11-SwitchDefaultUnreachableOpt.ll
…
2014-06-23-PHIlowering.ll
…
condition-phi-unreachable-default.ll
…
delete-default-block-crash.ll
…
do-not-handle-impossible-values.ll
…
feature.ll
…
fold-popular-case-to-unreachable-default.ll
…
phi-in-dead-block.ll
…
pr59316.ll
[Transform] Rewrite LowerSwitch using APInt
2023-01-24 20:22:06 -08:00
Powered by Gitea Version: 1.23.1 Page: 1091ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API